Class UuidNameCompare
- Namespace
- TimeCockpit.Data
- Assembly
- TimeCockpit.Data.dll
static helper class for comparing a string to another name + "Uuid" string without building a new string.
public static class UuidNameCompare
- Inheritance
-
ObjectUuidNameCompare
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Methods
EqualsNamePlusUuid(String, String)
Compares the leftHand string to the name while appending "Uuid" without constructing a new string.
public static bool EqualsNamePlusUuid(string leftHand, string name)
Parameters
leftHandStringthe string to compare.
nameStringthe name to compare to with "Uuid" appended.
Returns
- Boolean
Returns true if the leftHand matches (name + "Uuid")