Exemplo n.º 1
0
 internal RequestObject(ProviderBase provider, IHostApi hostApi, Action<RequestObject> action)
 {
     // construct request object
     _hostApi = hostApi;
     Provider = provider;
     _action = action;
 }
Exemplo n.º 2
0
 internal RequestObject(ProviderBase provider, IHostApi hostApi)
 {
     // construct request object
     _hostApi = hostApi;
     Provider = provider;
 }
Exemplo n.º 3
0
 public ActionRequestObject(ProviderBase provider, IHostApi hostApi, Action <RequestObject> action) : base(provider, hostApi, action)
 {
     InvokeImpl();
 }
Exemplo n.º 4
0
 public FuncRequestObject(ProviderBase provider, IHostApi hostApi, Func <RequestObject, T> function)
     : base(provider, hostApi, null)
 {
     _action = r => { _result = function(r); };
     InvokeImpl();
 }
Exemplo n.º 5
0
 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();
 }
Exemplo n.º 10
0
 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();
 }
Exemplo n.º 12
0
 internal RequestObject(ProviderBase provider, IHostApi hostApi)
 {
     // construct request object
     _hostApi = hostApi;
     Provider = provider;
 }