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); }
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); }