public static string GetDepthDescription(PropertyHolderDepth depth)
 {
     switch (depth)
     {
         case PropertyHolderDepth.LocomotiveLevel: return "локомотив";
         case PropertyHolderDepth.KindLevel: return "тип локомотива";
         case PropertyHolderDepth.SystemLevel: return "тип системы";
         case PropertyHolderDepth.RootLevel: return "все";
         default: throw new NotImplementedException();
     }
 }
Example #2
0
 partial void OnCustomizationDepthChanging(PropertyHolderDepth value);
Example #3
0
 partial void OnDepthChanging(PropertyHolderDepth value);