|
| ObjectId (byte[] bytes) |
| Initializes a new instance of the ObjectId class.
|
|
| ObjectId (DateTime timestamp, int machine, short pid, int increment) |
| Initializes a new instance of the ObjectId class.
|
|
| ObjectId (int timestamp, int machine, short pid, int increment) |
| Initializes a new instance of the ObjectId class.
|
|
| ObjectId (string value) |
| Initializes a new instance of the ObjectId class.
|
|
int | CompareTo (ObjectId other) |
| Compares this ObjectId to another ObjectId.
|
|
bool | Equals (ObjectId rhs) |
| Compares this ObjectId to another ObjectId.
|
|
override bool | Equals (object obj) |
| Compares this ObjectId to another object.
|
|
override int | GetHashCode () |
| Gets the hash code.
|
|
byte[] | ToByteArray () |
| Converts the ObjectId to a byte array.
|
|
override string | ToString () |
| Returns a string representation of the value.
|
|
TypeCode IConvertible. | GetTypeCode () |
|
bool IConvertible. | ToBoolean (IFormatProvider provider) |
|
byte IConvertible. | ToByte (IFormatProvider provider) |
|
char IConvertible. | ToChar (IFormatProvider provider) |
|
DateTime IConvertible. | ToDateTime (IFormatProvider provider) |
|
decimal IConvertible. | ToDecimal (IFormatProvider provider) |
|
double IConvertible. | ToDouble (IFormatProvider provider) |
|
short IConvertible. | ToInt16 (IFormatProvider provider) |
|
int IConvertible. | ToInt32 (IFormatProvider provider) |
|
long IConvertible. | ToInt64 (IFormatProvider provider) |
|
sbyte IConvertible. | ToSByte (IFormatProvider provider) |
|
float IConvertible. | ToSingle (IFormatProvider provider) |
|
string IConvertible. | ToString (IFormatProvider provider) |
|
object IConvertible. | ToType (Type conversionType, IFormatProvider provider) |
|
ushort IConvertible. | ToUInt16 (IFormatProvider provider) |
|
uint IConvertible. | ToUInt32 (IFormatProvider provider) |
|
ulong IConvertible. | ToUInt64 (IFormatProvider provider) |
|
|
static bool | operator< (ObjectId lhs, ObjectId rhs) |
| Compares two ObjectIds.
|
|
static bool | operator<= (ObjectId lhs, ObjectId rhs) |
| Compares two ObjectIds.
|
|
static bool | operator== (ObjectId lhs, ObjectId rhs) |
| Compares two ObjectIds.
|
|
static bool | operator!= (ObjectId lhs, ObjectId rhs) |
| Compares two ObjectIds.
|
|
static bool | operator>= (ObjectId lhs, ObjectId rhs) |
| Compares two ObjectIds.
|
|
static bool | operator> (ObjectId lhs, ObjectId rhs) |
| Compares two ObjectIds.
|
|
static ObjectId | GenerateNewId () |
| Generates a new ObjectId with a unique value.
|
|
static ObjectId | GenerateNewId (DateTime timestamp) |
| Generates a new ObjectId with a unique value (with the timestamp component based on a given DateTime).
|
|
static ObjectId | GenerateNewId (int timestamp) |
| Generates a new ObjectId with a unique value (with the given timestamp).
|
|
static byte[] | Pack (int timestamp, int machine, short pid, int increment) |
| Packs the components of an ObjectId into a byte array.
|
|
static ObjectId | Parse (string s) |
| Parses a string and creates a new ObjectId.
|
|
static bool | TryParse (string s, out ObjectId objectId) |
| Tries to parse a string and create a new ObjectId.
|
|
static void | Unpack (byte[] bytes, out int timestamp, out int machine, out short pid, out int increment) |
| Unpacks a byte array into the components of an ObjectId.
|
|
Represents an ObjectId (see also BsonObjectId).