Click or drag to resize

IGuardT Interface

A generic, mutable wrapper, made for immutable objects.

Namespace:  WhetStone.Guard
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public interface IGuard<T> : ICloneable

Type Parameters

T
The type to wrap.

The IGuardT type exposes the following members.

Properties
  NameDescription
Public propertyvalue
The internal value of the IGuardT
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
(Inherited from ICloneable.)
Top
Extension Methods
  NameDescription
Public Extension MethodCondGetT
Gets an IGuardT's value only if it is not .
(Defined by Guard.)
Public Extension MethodCondMutateT
Mutates and IGuardT's value if it is not .
(Defined by Guard.)
Public Extension MethodCondSetT
Sets an IGuardT's value only if it is not .
(Defined by Guard.)
Top
See Also