Ejemplo n.º 1
0
        private ApplicationOptions CreateOptions()
        {
            var options = new ApplicationOptions();

            options.DocimentsDirectory = Server.MapPath(@"~/Documents");
            options.AdminPassword = Server.MapPath(WebConfigurationManager.AppSettings["AdminPassword"]);

            return options;
        }
Ejemplo n.º 2
0
 public StandardDownloader(ApplicationOptions applicationOptions)
 {
     _applicationOptions = applicationOptions;
 }
Ejemplo n.º 3
0
 public SearchEngine(ApplicationOptions applicationOptions)
 {
     _applicationOptions = applicationOptions;
 }
Ejemplo n.º 4
0
 public void Assign(ApplicationOptions source)
 {
     this.DocimentsDirectory = source.DocimentsDirectory;
     // this.SearchText = source.SearchText;
 }