public static ClientContracts.IControllerAccess <C> Create <C>() where C : CashCow.Contracts.IIdentifiable { ClientContracts.IControllerAccess <C> result = null; CreateController <C>(CreateContext(), ref result); return(result); }
public static ClientContracts.IControllerAccess <C> Create <C>(object controller) where C : CashCow.Contracts.IIdentifiable { var controllerObject = controller as Controllers.ControllerObject; controllerObject.CheckArgument(nameof(controller)); ClientContracts.IControllerAccess <C> result = null; CreateController <C>(controllerObject, ref result); return(result); }
static partial void CreateController <C>(Controllers.ControllerObject controllerObject, ref ClientContracts.IControllerAccess <C> controller) where C : CashCow.Contracts.IIdentifiable;