public void GetSerializableName()
        {
            var expectedSerializableName = "enum_number";
            var actualSerializableName   = SerializableName.GetSerializableName(_zodiac.GetType(), "Type");

            Assert.AreEqual(expectedSerializableName, actualSerializableName);
        }
예제 #2
0
 public static string GetTypeColumnName()
 {
     return(SerializableName.GetSerializableName(typeof(TimeInterval), "Type"));
 }
예제 #3
0
 public static string GetZodiacIdColumnName()
 {
     return(SerializableName.GetSerializableName(typeof(Haircut), "Zodiac"));
 }
예제 #4
0
 public static string GetIsPositiveColumnName()
 {
     return(SerializableName.GetSerializableName(typeof(Haircut), "IsPositive"));
 }
예제 #5
0
 public static string GetPredictionColumnName()
 {
     return(SerializableName.GetSerializableName(typeof(Haircut), "Prediction"));
 }
예제 #6
0
 public static string GetMoonPhaseColumnName()
 {
     return(SerializableName.GetSerializableName(typeof(Haircut), "MoonPhase"));
 }
 public static string GetPasswordColumnName()
 {
     return(SerializableName.GetSerializableName(typeof(Admin), "Password"));
 }
 public static string GetNameColumnName()
 {
     return(SerializableName.GetSerializableName(typeof(Admin), "Name"));
 }
예제 #9
0
 public static string GetTypeColumnName()
 {
     return(SerializableName.GetSerializableName(typeof(Zodiac), "Type"));
 }
예제 #10
0
 public static string GetTextColumnName()
 {
     return(SerializableName.GetSerializableName(typeof(Prediction), "Text"));
 }
예제 #11
0
 public static string GetTimeIntervalColumnName()
 {
     return(SerializableName.GetSerializableName(typeof(Prediction), "TimeInterval"));
 }
예제 #12
0
 public static string GetZodiacColumnName()
 {
     return(SerializableName.GetSerializableName(typeof(Prediction), "Zodiac"));
 }
 public static string GetTextValueColumnName()
 {
     return(SerializableName.GetSerializableName(typeof(Compatibility), "TextValue"));
 }
 public static string GetZodiac2ColumnName()
 {
     return(SerializableName.GetSerializableName(typeof(Compatibility), "Zodiac2"));
 }
 public static string GetIdColumnName()
 {
     return(SerializableName.GetSerializableName(typeof(Compatibility), "Id"));
 }