public CustomFieldDefinitionContext(string id, TrelloAuthorization auth) : base(auth) { Data.Id = id; DropDownOptions = new DropDownOptionCollection(() => Data.Id, auth); }
public CustomFieldDefinitionContext(string id, TrelloAuthorization auth) : base(auth) { Data.Id = id; DropDownOptions = new DropDownOptionCollection(() => Data.Id, auth); DropDownOptions.Refreshed += (s, e) => OnMerged(new[] { nameof(DropDownOptions) }); DisplayInfo = new CustomFieldDisplayInfoContext(auth); DisplayInfo.SubmitRequested += ct => HandleSubmitRequested("Display", ct); Data.Display = DisplayInfo.Data; }