Table of Contents

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
Object
UuidNameCompare
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

leftHand String

the string to compare.

name String

the name to compare to with "Uuid" appended.

Returns

Boolean

Returns true if the leftHand matches (name + "Uuid")