コード例 #1
0
ファイル: RequestObject.cs プロジェクト: notgerry/oneget
 internal RequestObject(ProviderBase provider, IHostApi hostApi, Action<RequestObject> action)
 {
     // construct request object
     _hostApi = hostApi;
     Provider = provider;
     _action = action;
 }
コード例 #2
0
ファイル: RequestObject.cs プロジェクト: notgerry/oneget
 internal RequestObject(ProviderBase provider, IHostApi hostApi)
 {
     // construct request object
     _hostApi = hostApi;
     Provider = provider;
 }
コード例 #3
0
 public ActionRequestObject(ProviderBase provider, IHostApi hostApi, Action <RequestObject> action) : base(provider, hostApi, action)
 {
     InvokeImpl();
 }
コード例 #4
0
 public FuncRequestObject(ProviderBase provider, IHostApi hostApi, Func <RequestObject, T> function)
     : base(provider, hostApi, null)
 {
     _action = r => { _result = function(r); };
     InvokeImpl();
 }
コード例 #5
0
 internal EnumerableRequestObject(ProviderBase provider, IHostApi request, Action <RequestObject> action)
     : base(provider, request, action)
 {
     OnCancel += () => { Results.CompleteAdding(); };
     OnAbort  += () => { Results.CompleteAdding(); };
 }
コード例 #6
0
 public PackageDetailsRequestObject(ProviderBase provider, IHostApi hostApi, SoftwareIdentity softwareIdentity, Action<RequestObject> action)
     : base(provider, hostApi, action)
 {
     _softwareIdentity = softwareIdentity;
     InvokeImpl();
 }
コード例 #7
0
 public DynamicOptionRequestObject(ProviderBase provider, IHostApi request, Action <RequestObject> action, OptionCategory category)
     : base(provider, request, action)
 {
     _category = category;
     InvokeImpl();
 }
コード例 #8
0
 public PackageSourceRequestObject(ProviderBase provider, IHostApi request, Action <RequestObject> action)
     : base(provider, request, action)
 {
     InvokeImpl();
 }
コード例 #9
0
 public SoftwareIdentityRequestObject(ProviderBase provider, IHostApi request, Action <RequestObject> action, string status)
     : base(provider, request, action)
 {
     _status = status;
     InvokeImpl();
 }
コード例 #10
0
 public DictionaryRequestObject(ProviderBase provider, IHostApi request, Action <RequestObject> action)
     : base(provider, request, action)
 {
     InvokeImpl();
 }
コード例 #11
0
 public PackageDetailsRequestObject(ProviderBase provider, IHostApi hostApi, SoftwareIdentity softwareIdentity, Action <RequestObject> action)
     : base(provider, hostApi, action)
 {
     _softwareIdentity = softwareIdentity;
     InvokeImpl();
 }
コード例 #12
0
 internal RequestObject(ProviderBase provider, IHostApi hostApi)
 {
     // construct request object
     _hostApi = hostApi;
     Provider = provider;
 }