示例#1
0
 public static string GetName(this NamingConventions <EnumContext> conventions,
                              object value, Type type, Context context)
 {
     return(conventions.GetName(new EnumContext(value, type, context)));
 }
示例#2
0
 public static string GetName(this NamingConventions <TypeContext> conventions,
                              CachedType type, Context context, bool isRoot = false)
 {
     return(conventions.GetName(new TypeContext(type, context, isRoot)));
 }
示例#3
0
 public static string GetName(this NamingConventions <ArrayItemContext> conventions,
                              CachedType type, CachedMember member, Context context)
 {
     return(conventions.GetName(new ArrayItemContext(type, member, context)));
 }
示例#4
0
 public static string GetName(this NamingConventions <MemberContext> conventions,
                              CachedMember member, Context context)
 {
     return(conventions.GetName(new MemberContext(member, context)));
 }