예제 #1
0
 public DatabaseModeValidator()
 {
     if (MenuServer.SourceModeExists())
     {
         _sourceMode = MenuServer.SourceMode();
     }
 }
예제 #2
0
 public DatabaseModeValidator(ESourceMode sourceMode)
 {
     _sourceMode = sourceMode;
 }
예제 #3
0
 public AllowedSourceModeAttribute(ESourceMode sourceMode)
 {
     SourceMode = sourceMode;
 }
예제 #4
0
 public AllowedSourceModeAttribute(ESourceMode sourceMode)
 {
     SourceMode = sourceMode;
 }
예제 #5
0
 public DatabaseModeValidator(ESourceMode sourceMode)
 {
     _sourceMode = sourceMode;
 }
예제 #6
0
 public DatabaseModeValidator()
 {
     if (MenuServer.SourceModeExists()) _sourceMode = MenuServer.SourceMode();
 }
예제 #7
0
 public static string SourceModeShortcut(ESourceMode sourceMode)
 {
     return(GetSourceModeShortcut(EnumHelper.GetEnumDescription(sourceMode)));
 }
예제 #8
0
 public static string SourceModeValue(ESourceMode sourceMode)
 {
     return(EnumHelper.GetEnumDescription(sourceMode));
 }