public static IsErrorOfType ( |
||
bo | ||
errorType | string | |
return | bool |
public static bool IsErrorOfType(BikeObject bo, string errorType)
{
if (bo == null)
return false;
var prototype = ResolvePrototype(errorType);
return prototype.IsPrototypeOf(bo).Value;
}