public static string GetAppCollectionName() { var ss = new SeriousSerializer(); var config = ss.BinaryDeserializer <ApplicationCfg>(configurationPath); return(config.AppDbCollection); }
public static int GetTargetStringLength() { var ss = new SeriousSerializer(); var config = ss.BinaryDeserializer <ApplicationCfg>(configurationPath); return(config.TargetStringLength); }
public static string GetDatabasePath() { var ss = new SeriousSerializer(); var config = ss.BinaryDeserializer <ApplicationCfg>(configurationPath); return(config.DatabasePath); }