Ejemplo n.º 1
0
        public static ClientContracts.IControllerAccess <C> Create <C>()
            where C : CashCow.Contracts.IIdentifiable
        {
            ClientContracts.IControllerAccess <C> result = null;

            CreateController <C>(CreateContext(), ref result);
            return(result);
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
 static partial void CreateController <C>(Controllers.ControllerObject controllerObject, ref ClientContracts.IControllerAccess <C> controller)
     where C : CashCow.Contracts.IIdentifiable;