public PlatformSet(IPlatformRestContext context) { this.context = context; //if (this.context.GetType() == typeof(PlatformContext)) //{ // ((PlatformContext)this.context).Register(this); //} this.context.Register(this); }
public RestController(IPlatformRestContext context) => this.Context = context;
public PlatformSet(IPlatformTrigger <E> trigger, IPlatformRestContext context) : this(context) { this.trigger = trigger; this.trigger.Context = this.context; }