Beispiel #1
0
 public WebService(SunfishServiceConfiguration ssc) : base(ssc)
 {
     vfs.AddVirtualFolder(null, new VFSFolderFileSystem(ssc.GetConf <string>(WebServiceConfigurator.CFG_PATH)));
     index = ssc.GetConf <string>(WebServiceConfigurator.CFG_INDEX);
     if (string.IsNullOrWhiteSpace(index))
     {
         index = null;
     }
     allowNavigation = ssc.GetConf <bool>(WebServiceConfigurator.CFG_SHARE);
     allowDelete     = ssc.GetConf <bool>(WebServiceConfigurator.CFG_DELETE);
     allowExec       = ssc.GetConf <bool>(WebServiceConfigurator.CFG_EXECUTE);
     readOnly        = ssc.GetConf <bool>(WebServiceConfigurator.CFG_RONLY);
 }