コード例 #1
0
ファイル: LiveMethod.cs プロジェクト: saverydj/SystemMonitor
 public MethodCaller(IDynamicMethod dynamicMethod, IDeployPath deployPath, IOperationRetryIgnore operationRetryIgnore, IMethodOverrides methodOverrides, ResourceReference method)
 {
     _method               = method;
     _dynamicMethod        = dynamicMethod;
     _operationRetryIgnore = operationRetryIgnore;
     _deployPath           = (method.RootType == ReferenceRoot.SR) ?
                             deployPath.GetDeployPath(methodOverrides.GetOverride(method)) : deployPath.GetDeployPath(method);
 }
コード例 #2
0
 public OnlineResources([Import("MyStrippedDeployPath", typeof(IDeployPath))] IDeployPath deployPath, IProvideValues provideValues)
 {
     DeployPath    = deployPath;
     ProvideValues = provideValues;
 }