Class MongoUtils
Various static utility methods.
public static class MongoUtils- Inheritance
- 
      
      MongoUtils
- Inherited Members
Methods
Hash(string)
Gets the MD5 hash of a string.
public static string Hash(string text)Parameters
- textstring
- The string to get the MD5 hash of. 
Returns
- string
- The MD5 hash. 
TimeSpanFromMicroseconds(long)
Creates a TimeSpan from microseconds.
public static TimeSpan TimeSpanFromMicroseconds(long microseconds)Parameters
- microsecondslong
- The microseconds. 
Returns
- TimeSpan
- The TimeSpan. 
ToCamelCase(string)
Converts a string to camel case by lower casing the first letter (only the first letter is modified).
public static string ToCamelCase(string value)Parameters
- valuestring
- The string to camel case. 
Returns
- string
- The camel cased string.