Пример #1
0
 private void BeforeGeneration()
 {
     if (!(string.IsNullOrEmpty(decorated.@namespace) || string.IsNullOrWhiteSpace(decorated.@namespace)))
     {
         @namespace = NamespaceGenerator.Namespace([email protected]());
     }
     @interface = InterfaceGenerator.Interface(decorated.title);
     guid       = decorated.GetGUID();
 }
Пример #2
0
 public NamespaceGenerator AddInterface(InterfaceGenerator @interface)
 {
     interfaces.Add(@interface);
     return(this);
 }