Table of Contents

Class SystemTypeExtensions

Namespace: Casewhere.SystemTypes
Assembly: Casewhere.SystemTypes.dll

public static class SystemTypeExtensions

Inheritance

objectSystemTypeExtensions

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

bool

Type Parameters

T

IsNotNullOrEmpty<T>(IEnumerable<T>)

public static bool IsNotNullOrEmpty<T>(this IEnumerable<T> list)

Parameters

list IEnumerable<T>

Returns

bool

Type Parameters

T

IsNotNullOrEmpty(Guid?)

public static bool IsNotNullOrEmpty(this Guid? guidValue)

Parameters

guidValue Guid?

Returns

bool

IsNullOrEmpty<T>(IEnumerable<T>)

public static bool IsNullOrEmpty<T>(this IEnumerable<T> list)

Parameters

list IEnumerable<T>

Returns

bool

Type Parameters

T

ToSystemType(DataClassPropertyType)

public static Type ToSystemType(this DataClassPropertyType type)

Parameters

type DataClassPropertyType

Returns

Type

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

string

UpperFirstLetter(string)

public static string UpperFirstLetter(this string csharpProperty)

Parameters

csharpProperty string

Returns

string