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