public IResolveSingle <T> ResolveSingle <T>(IResolveSingle <T> value) => Bind(value);
public static IResolveBuilder <T, ClientObjectResolveContext> ValidateIsClientObjectResolveBuilder <T>(this IResolveSingle <T> resolve) { if (resolve == null) { throw Logger.Fatal.ArgumentNull(nameof(resolve)); } var result = (resolve as IResolveBuilder <T, ClientObjectResolveContext>); if (result == null) { throw Logger.Fatal.ArgumentNotAssignableTo( nameof(resolve), resolve, typeof(IResolveBuilder <T, ClientObjectResolveContext>) ); } return(result); }
public IResolveSingle <T> ResolveSingle <T>( IResolveSingle <T> value, params Expression <Func <T, Object> >[] retrievals ) where T : ClientObject => Bind(value, retrievals);