Ejemplo n.º 1
0
 public static TM_Server active_UserData(this TM_Server tmServer, TM_Server.Config config)
 {
     if (tmServer.isNull() || config.isNull())
         return null;
     tmServer.UserData_Configs.active_Config(config);
     return tmServer;
 }
Ejemplo n.º 2
0
 public static bool tmServer_Save(this TM_FileStorage tmFileStorage, TM_Server tmServer)
 {
     UserRole.Admin.demand();
     if (tmFileStorage.isNull() || tmServer.isNull())
         return false;
     var location = tmFileStorage.tmServer_Location();
     return (location.valid()) &&
             tmServer.saveAs(location);
 }
Ejemplo n.º 3
0
 public static TM_Server             active_UserData(this TM_Server tmServer, TM_Server.Config config)
 {
     if (tmServer.isNull() || config.isNull())
     {
         return(null);
     }
     tmServer.UserData_Configs.active_Config(config);
     return(tmServer);
 }
Ejemplo n.º 4
0
 public static bool                  userActivities_Disable_Logging(this TM_Server tmServer)
 {
     return(tmServer.isNull() || tmServer.UserActivities_Disable_Logging);
 }