public AddCoercibleType ( |
||
t | The type to coerce. | |
coercionDelegate | TypeCoercionDelegate | How to coerce it. |
return | void |
public void AddCoercibleType(Type t, TypeCoercionDelegate coercionDelegate)
{
lock (this)
{
if (_coerceableTypes == null)
{
_coerceableTypes = new Dictionary<Type, TypeCoercionDelegate>();
}
_coerceableTypes.Add(t, coercionDelegate);
}
}