internal RequestObject(ProviderBase provider, IHostApi hostApi, Action<RequestObject> action) { // construct request object _hostApi = hostApi; Provider = provider; _action = action; }
internal RequestObject(ProviderBase provider, IHostApi hostApi) { // construct request object _hostApi = hostApi; Provider = provider; }
public ActionRequestObject(ProviderBase provider, IHostApi hostApi, Action <RequestObject> action) : base(provider, hostApi, action) { InvokeImpl(); }
public FuncRequestObject(ProviderBase provider, IHostApi hostApi, Func <RequestObject, T> function) : base(provider, hostApi, null) { _action = r => { _result = function(r); }; InvokeImpl(); }
internal EnumerableRequestObject(ProviderBase provider, IHostApi request, Action <RequestObject> action) : base(provider, request, action) { OnCancel += () => { Results.CompleteAdding(); }; OnAbort += () => { Results.CompleteAdding(); }; }
public PackageDetailsRequestObject(ProviderBase provider, IHostApi hostApi, SoftwareIdentity softwareIdentity, Action<RequestObject> action) : base(provider, hostApi, action) { _softwareIdentity = softwareIdentity; InvokeImpl(); }
public DynamicOptionRequestObject(ProviderBase provider, IHostApi request, Action <RequestObject> action, OptionCategory category) : base(provider, request, action) { _category = category; InvokeImpl(); }
public PackageSourceRequestObject(ProviderBase provider, IHostApi request, Action <RequestObject> action) : base(provider, request, action) { InvokeImpl(); }
public SoftwareIdentityRequestObject(ProviderBase provider, IHostApi request, Action <RequestObject> action, string status) : base(provider, request, action) { _status = status; InvokeImpl(); }
public DictionaryRequestObject(ProviderBase provider, IHostApi request, Action <RequestObject> action) : base(provider, request, action) { InvokeImpl(); }
public PackageDetailsRequestObject(ProviderBase provider, IHostApi hostApi, SoftwareIdentity softwareIdentity, Action <RequestObject> action) : base(provider, hostApi, action) { _softwareIdentity = softwareIdentity; InvokeImpl(); }