Table of Contents

Class CSharpName

Namespace: Casewhere.Common.ValueTypes
Assembly: Casewhere.Common.dll

Wrap around a string representing for a valid C# propery format

public class CSharpName

Inheritance

objectCSharpName

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), EnumExtensions.DeepClone<CSharpName>(CSharpName)

Constructors

CSharpName(string)

public CSharpName(string value)

Parameters

value string

CSharpName(string, bool)

public CSharpName(string value, bool allowNull)

Parameters

value string

allowNull bool

Properties

Value

public string Value { get; }

Property Value

string

Methods

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(CSharpName, CSharpName)

public static bool operator ==(CSharpName a, CSharpName b)

Parameters

a CSharpName

b CSharpName

Returns

bool

operator !=(CSharpName, CSharpName)

public static bool operator !=(CSharpName a, CSharpName b)

Parameters

a CSharpName

b CSharpName

Returns

bool