Пример #1
0
 public static void SetMemberName(this GraphQLModule module, Type type, string memberName, string name)
 {
     module.Adjustments.Add(new ModelAdjustment()
     {
         Type = type, MemberName = memberName, Attribute = new GraphQLNameAttribute(name)
     });
 }
Пример #2
0
 public static void IgnoreMember(this GraphQLModule module, Type type, string memberName)
 {
     module.Adjustments.Add(new ModelAdjustment()
     {
         Type = type, MemberName = memberName, Attribute = new IgnoreAttribute()
     });
 }