public bool IsDefault(object value, Type forType) { return(EqualityComparer <object> .Default.Equals(value, _defaultForType.GetDefaultFor(forType))); }
public RouteAction Handle(ICall call) { var returnValue = _defaultForType.GetDefaultFor(call.GetMethodInfo().ReturnType); return(RouteAction.Return(returnValue)); }