Пример #1
0
        public PlatformSet(IPlatformRestContext context)
        {
            this.context = context;

            //if (this.context.GetType() == typeof(PlatformContext))
            //{
            //    ((PlatformContext)this.context).Register(this);
            //}

            this.context.Register(this);
        }
Пример #2
0
 public RestController(IPlatformRestContext context) => this.Context = context;
Пример #3
0
 public PlatformSet(IPlatformTrigger <E> trigger, IPlatformRestContext context) : this(context)
 {
     this.trigger         = trigger;
     this.trigger.Context = this.context;
 }