Пример #1
0
 public static MemberDefinition NestedStruct(Type[] interfaces, Visibility visibility = Visibility.Private,
                                             params MemberDefinition[] memberDefinitions)
 {
     return(NestedStruct(Create.RandomName(), interfaces, visibility, memberDefinitions));
 }
Пример #2
0
 public static MemberDefinition NestedClass(Type[] interfaces, Visibility visibility,
                                            params MemberDefinition[] memberDefinitions)
 {
     return(NestedClass(Create.RandomName(), interfaces, visibility, memberDefinitions));
 }
Пример #3
0
 public static MemberDefinition NestedStruct(Visibility visibility = Visibility.Private,
                                             params MemberDefinition[] memberDefinitions)
 {
     return(NestedStruct(Create.RandomName(), new Type[0], visibility, memberDefinitions));
 }
Пример #4
0
 public static MemberDefinition NestedClass(Visibility visibility,
                                            params MemberDefinition[] memberDefinitions)
 {
     return(NestedClass(Create.RandomName(), new Type[0], visibility, memberDefinitions));
 }