Ejemplo n.º 1
0
 public HomeController()
 {
     this.Config = new Config();
     this.Resources = new ResourceStrings(Config);
     this.FileSystem = new FileSystemHelper(Config);
     this.PathHelper = new AppUrlHelper(FileSystem, Resources);
     this.InitializeTableOfContentsRepository();
     this.ApplicationSamplesRepository = new ApplicationSampleRepository(Resources.Culture, this.FileSystem);
     this.SampleRepository = new SampleRepository(Resources.Culture, this.FileSystem);
     this.ControlRepository = new ControlRepository(Resources.Culture, this.FileSystem);
     this.SampleSourceCodeRepository = new SampleSourceCodeRepository(this.PathHelper);
     this.InitializeHelpContentRepository();
     this.LocalizedSampleStringRepository = new LocalizedSampleStringRepository(this.Resources.Culture);
 }
Ejemplo n.º 2
0
 public HomeController()
 {
     this.Config     = new Config();
     this.Resources  = new ResourceStrings(Config);
     this.FileSystem = new FileSystemHelper(Config);
     this.PathHelper = new AppUrlHelper(FileSystem, Resources);
     this.InitializeTableOfContentsRepository();
     this.ApplicationSamplesRepository = new ApplicationSampleRepository(Resources.Culture, this.FileSystem);
     this.SampleRepository             = new SampleRepository(Resources.Culture, this.FileSystem);
     this.ControlRepository            = new ControlRepository(Resources.Culture, this.FileSystem);
     this.SampleSourceCodeRepository   = new SampleSourceCodeRepository(this.PathHelper);
     this.InitializeHelpContentRepository();
     this.LocalizedSampleStringRepository = new LocalizedSampleStringRepository(this.Resources.Culture);
 }