Beispiel #1
0
 public WebAssetProvider(IMethodPackageMetadataCreator methodPackageMetadataCreator,
                         IVariableReplacementService variableReplacementService,
                         IOptions <RpcServiceConfiguration> configuration)
 {
     _methodPackageMetadataCreator = methodPackageMetadataCreator;
     _variableReplacementService   = variableReplacementService;
     _configuration = configuration;
 }
Beispiel #2
0
        public CustomWebAssetProvider(IMethodPackageMetadataCreator methodPackageMetadataCreator, IVariableReplacementService variableReplacementService, IOptions <RpcServiceConfiguration> configuration) :
            base(methodPackageMetadataCreator, variableReplacementService, configuration)
        {
            var personalPath =
                @"C:\Users\ian\Source\Repos\EasyRpc-3.0\src\EasyRpc.AspNetCore\Documentation\web-assets\";

            if (Directory.Exists(personalPath))
            {
                ExtractedAssetPath = personalPath;
            }
        }