StringSugarcoaters Class
Provides methods for Sugarcoater<T> (T
is
string
).
C#
public static class StringSugarcoaters
- Inheritance
-
String
Sugarcoaters
Methods
Is |
Gets whether the specified type is string or
BindEvent<T> ( |
Of(Type) |
Gets the sugarcoater for the specified type. |
Methods Detail
IsValid(Type)
Gets whether the specified type is string or
BindEvent<T> (T
is string
).
C#
public static bool IsValid(Type type)
Parameters
- type
- Type
The type to test.
Returns
true
if the specified type is string or
BindEvent<T> (T
is string
).
Of(Type)
Gets the sugarcoater for the specified type.
C#
public static Sugarcoater<string> Of(Type type)
Parameters
- type
- Type
The type of string or BindEvent<T>
(T
is string
).
Returns
The sugarcoater for the specified type.