コード例 #1
0
 public AssetMiddleware(RequestDelegate next, IOptions<AssetOptions> options, IAssetRegistry registry, IApplicationEnvironment env)
 {
     _next = next;
     _options = options.Options;
     _assetPath = new PathString(options.Options.ServePath);
     _registry = registry;
     _baseDirectory = env.ApplicationBasePath;
 }
コード例 #2
0
ファイル: AssetManager.cs プロジェクト: FrostByteGER/ZEngine
 public AssetManager(IAssetRegistry registry)
 {
     Registry = registry;
 }
コード例 #3
0
 public ProcessorHandler(IEnumerable<IAssetProcessor> compilers, IAssetRegistry registry)
 {
     _compilers = compilers;
     _registry = registry;
 }
コード例 #4
0
 public static void SetupExtensions(IAssetRegistry registry, string servePath)
 {
     _assetRegistry = registry;
     _servePath = servePath.TrimEnd("/".ToCharArray());
 }