Class SystemTypeExtensions
Namespace: Casewhere.SystemTypes
Assembly: Casewhere.SystemTypes.dll
public static class SystemTypeExtensions
Inheritance
Inherited Members
object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()
Extension Methods
ObjectExtension.ConvertToBsonValue(object)
Methods
IsNotNullOrEmpty<T>(List<T>)
public static bool IsNotNullOrEmpty<T>(this List<T> list)
Parameters
list
List<T>
Returns
Type Parameters
T
IsNotNullOrEmpty<T>(IEnumerable<T>)
public static bool IsNotNullOrEmpty<T>(this IEnumerable<T> list)
Parameters
list
IEnumerable<T>
Returns
Type Parameters
T
IsNotNullOrEmpty(Guid?)
public static bool IsNotNullOrEmpty(this Guid? guidValue)
Parameters
guidValue
Guid?
Returns
IsNullOrEmpty<T>(IEnumerable<T>)
public static bool IsNullOrEmpty<T>(this IEnumerable<T> list)
Parameters
list
IEnumerable<T>
Returns
Type Parameters
T
ToSystemType(DataClassPropertyType)
public static Type ToSystemType(this DataClassPropertyType type)
Parameters
Returns
ToVariable(string)
Turn a string into a variable, such as, we have class: Workflow, and we want to generate the variable name: workflow
public static string ToVariable(this string name)
Parameters
name
string
Returns
UpperFirstLetter(string)
public static string UpperFirstLetter(this string csharpProperty)
Parameters
csharpProperty
string