Ejemplo n.º 1
0
 /// <summary>
 /// Create an instance of <see cref="ItemListCompiler"/> using the provided compiler registry.
 /// </summary>
 /// <param name="compilerRegistry">The registry that contains the compiler to use for each asset type</param>
 protected ItemListCompiler(ICompilerRegistry <IAssetCompiler> compilerRegistry)
 {
     if (compilerRegistry == null)
     {
         throw new ArgumentNullException(nameof(compilerRegistry));
     }
     this.compilerRegistry = compilerRegistry;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create an instance of <see cref="ItemListCompiler"/> using the provided compiler registry.
 /// </summary>
 /// <param name="compilerRegistry">The registry that contains the compiler to use for each asset type</param>
 protected ItemListCompiler(ICompilerRegistry<IAssetCompiler> compilerRegistry)
 {
     if (compilerRegistry == null) throw new ArgumentNullException(nameof(compilerRegistry));
     this.compilerRegistry = compilerRegistry;
 }