Example #1
0
        public PlatformSet(IPlatformRestContext context)
        {
            this.context = context;

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

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