public OperationServices(IsingletonInstanceOperation _SingletonInstanceOperation,
                          ITransingOperation _TransingOperation,
                          IsingletonOperation _SingletonOperation,
                          IScodeOperation _ScodeOperation
                          )
 {
     this.SingletonInstanceOperation = _SingletonInstanceOperation;
     this.TransingOperation          = _TransingOperation;
     this.SingletonOperation         = _SingletonOperation;
     this.ScodeOperation             = _ScodeOperation;
 }
Exemplo n.º 2
0
        public HomeController(IsingletonInstanceOperation _SingletonInstanceOperation,
                              ITransingOperation _TransingOperation,
                              IsingletonOperation _SingletonOperation,
                              IScodeOperation _ScodeOperation,
                              OperationServices _OperationServices)
        {
            SSingletonInstance = _OperationServices.SingletonInstanceOperation.OperationId.ToString();
            SSingleton         = _OperationServices.SingletonOperation.OperationId.ToString();
            STransing          = _OperationServices.TransingOperation.OperationId.ToString();
            SScode             = _OperationServices.ScodeOperation.OperationId.ToString();

            SingletonInstance = _SingletonInstanceOperation.OperationId.ToString();
            Singleton         = _SingletonOperation.OperationId.ToString();
            Transing          = _TransingOperation.OperationId.ToString();
            Scode             = _ScodeOperation.OperationId.ToString();
        }