Guard Class

Represents the helper class for standard validations.

Namespace: Microsoft.Uii.Common
Assembly: Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)

Syntax

'Declaration
Public NotInheritable Class Guard
public static class Guard
public ref class Guard abstract sealed
public final class Guard
public final class Guard

Remarks

This class is an internal class; it exposes static methods which are used to guard against null object, null string or empty string.

Inheritance Hierarchy

System.Object
  Microsoft.Uii.Common.Guard

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

Guard Members
Microsoft.Uii.Common Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.