From 4415f6e2bddc12166d1c053f799b7aefc5ccd491 Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 24 Jun 2013 14:38:58 +0700 Subject: [PATCH] nejdb minors --- nejdb/Ejdb.BSON/BSONDocument.cs | 2 +- nejdb/Ejdb.Tests/TestBSON.cs | 4 ++-- nejdb/Ejdb.Tests/TestEJDB.cs | 2 +- nejdb/Ejdb.Utils/TypeExtension.cs | 2 +- nejdb/nejdb.csproj | 12 ++++++------ nejdb/nejdb.userprefs | 25 ++++++++++++------------- 6 files changed, 23 insertions(+), 24 deletions(-) diff --git a/nejdb/Ejdb.BSON/BSONDocument.cs b/nejdb/Ejdb.BSON/BSONDocument.cs index 0778961..14ed3ae 100644 --- a/nejdb/Ejdb.BSON/BSONDocument.cs +++ b/nejdb/Ejdb.BSON/BSONDocument.cs @@ -268,7 +268,7 @@ namespace Ejdb.BSON { /// Gets the with the specified key. /// /// - /// Hierarchical field paths are supported. + /// Getter for hierarchical field paths are supported. /// /// Key. /// Key object or null if the key is not exists or value type is either diff --git a/nejdb/Ejdb.Tests/TestBSON.cs b/nejdb/Ejdb.Tests/TestBSON.cs index 5d07983..6c56b4f 100644 --- a/nejdb/Ejdb.Tests/TestBSON.cs +++ b/nejdb/Ejdb.Tests/TestBSON.cs @@ -57,7 +57,7 @@ namespace Ejdb.Tests { doc2.SetNumber("0", 2); Assert.AreEqual(1, doc2.KeysCount); object ival = doc2["0"]; - Assert.IsInstanceOfType(typeof(int), ival); + Assert.IsInstanceOf(typeof(int), ival); Assert.AreEqual(2, ival); doc2.SetNumber("1", Int32.MaxValue); //13-00-00-00 @@ -215,7 +215,7 @@ namespace Ejdb.Tests { } if (c == 2) { Assert.AreEqual(BSONType.OID, bv.BSONType); - Assert.IsInstanceOfType(typeof(BSONOid), bv.Value); + Assert.IsInstanceOf(typeof(BSONOid), bv.Value); var oid = bv.Value as BSONOid; Assert.AreEqual("51b9f3af98195c4600000000", oid.ToString()); } diff --git a/nejdb/Ejdb.Tests/TestEJDB.cs b/nejdb/Ejdb.Tests/TestEJDB.cs index bfaae53..c921fa3 100644 --- a/nejdb/Ejdb.Tests/TestEJDB.cs +++ b/nejdb/Ejdb.Tests/TestEJDB.cs @@ -54,7 +54,7 @@ namespace Ejdb.Tests { bool rv = jb.Save("mycoll", doc); Assert.IsTrue(rv); Assert.IsNotNull(doc["_id"]); - Assert.IsInstanceOfType(typeof(BSONOid), doc["_id"]); + Assert.IsInstanceOf(typeof(BSONOid), doc["_id"]); rv = jb.Save("mycoll", doc); Assert.IsTrue(rv); diff --git a/nejdb/Ejdb.Utils/TypeExtension.cs b/nejdb/Ejdb.Utils/TypeExtension.cs index eb422ea..505bec5 100644 --- a/nejdb/Ejdb.Utils/TypeExtension.cs +++ b/nejdb/Ejdb.Utils/TypeExtension.cs @@ -19,7 +19,7 @@ using System.Runtime.CompilerServices; namespace Ejdb.Utils { /// - /// Check if specified type if anonymous. + /// Check if specified type is anonymous. /// public static class TypeExtension { public static bool IsAnonymousType(this Type type) { diff --git a/nejdb/nejdb.csproj b/nejdb/nejdb.csproj index 9158371..07bb306 100644 --- a/nejdb/nejdb.csproj +++ b/nejdb/nejdb.csproj @@ -10,8 +10,8 @@ Ejdb nejdb EJDB .Net binding (http://ejdb.org) - 1.0.0 65001 + 1.0.0 true @@ -30,6 +30,7 @@ prompt 4 false + DEBUG; true @@ -48,16 +49,15 @@ prompt 4 false - EJDBDLL + DEBUG;EJDBDLL; - - False - False - + + False + diff --git a/nejdb/nejdb.userprefs b/nejdb/nejdb.userprefs index d7e4d87..8634846 100644 --- a/nejdb/nejdb.userprefs +++ b/nejdb/nejdb.userprefs @@ -1,27 +1,26 @@  - - + + - - - + + + + - + + + + - - - - + - - - + -- 2.7.4