コード例 #1
0
 public HomeController(
     IRepository <Setting> repo,
     IPublisherMetadataProvider metadataProvider)
 {
     this.repo             = repo;
     this.metadataProvider = metadataProvider;
 }
コード例 #2
0
 public HubAssemblyProvider(
     IHubCodeGenerator codegen,
     ICodeDOMCompiler compiler,
     IPublisherMetadataProvider provider)
 {
     this.codegen  = codegen;
     this.compiler = compiler;
     this.provider = provider;
     InitializeMaps();
 }