コード例 #1
0
ファイル: StructGenerator.cs プロジェクト: yaram/SharpVk
 public StructGenerator(Dictionary <string, TypeDeclaration> typeData, NameLookup nameLookup, NamespaceMap namespaceMap, CommentGenerator commentGenerator)
 {
     this.typeData         = typeData;
     this.nameLookup       = nameLookup;
     this.namespaceMap     = namespaceMap;
     this.commentGenerator = commentGenerator;
 }
コード例 #2
0
 public DelegateGenerator(IEnumerable <DelegateDeclaration> delegates, Dictionary <string, TypeDeclaration> typeData, NamespaceMap namespaceMap, NameLookup nameLookup)
 {
     this.delegates    = delegates;
     this.typeData     = typeData;
     this.namespaceMap = namespaceMap;
     this.nameLookup   = nameLookup;
 }
コード例 #3
0
 public PInvokeGenerator(IEnumerable <CommandDeclaration> commands, IEnumerable <ExtensionDeclaration> extensions, NamespaceMap namespaceMap, NameLookup nameLookup)
 {
     this.extensions   = extensions.ToDictionary(x => x.Name);
     this.commands     = commands;
     this.namespaceMap = namespaceMap;
     this.nameLookup   = nameLookup;
 }
コード例 #4
0
 public MarshalledStructGenerator(Dictionary <string, TypeDeclaration> typeData, NameLookup nameLookup, IEnumerable <IMemberPatternRule> patternRules, NamespaceMap namespaceMap)
 {
     this.typeData     = typeData;
     this.nameLookup   = nameLookup;
     this.patternRules = patternRules;
     this.namespaceMap = namespaceMap;
 }
コード例 #5
0
 public HandleExtensionsGenerator(Dictionary <string, TypeDeclaration> typeData, NameLookup nameLookup, IEnumerable <CommandDeclaration> commands, NamespaceMap namespaceMap, HandleGenerator handleGenerator)
 {
     this.typeData        = typeData;
     this.nameLookup      = nameLookup;
     this.commands        = commands;
     this.namespaceMap    = namespaceMap;
     this.handleGenerator = handleGenerator;
 }
コード例 #6
0
ファイル: HandleGenerator.cs プロジェクト: JamesLinus/SharpVk
 public HandleGenerator(Dictionary <string, TypeDeclaration> typeData, NameLookup nameLookup, IEnumerable <CommandDeclaration> commands, IEnumerable <IMarshalValueRule> marshallingRules, IEnumerable <IMemberPatternRule> memberPatternRules, ParsedExpressionTokenCheck tokenCheck, NamespaceMap namespaceMap)
 {
     this.typeData           = typeData;
     this.nameLookup         = nameLookup;
     this.commands           = commands.GroupBy(x => x.HandleTypeName).ToDictionary(x => x.Key, x => x.AsEnumerable());
     this.marshallingRules   = marshallingRules;
     this.memberPatternRules = memberPatternRules;
     this.tokenCheck         = tokenCheck;
     this.namespaceMap       = namespaceMap;
 }
コード例 #7
0
ファイル: PInvokeGenerator.cs プロジェクト: yaram/SharpVk
 public PInvokeGenerator(IEnumerable <CommandDeclaration> commands, NamespaceMap namespaceMap, NameLookup nameLookup)
 {
     this.commands     = commands;
     this.namespaceMap = namespaceMap;
     this.nameLookup   = nameLookup;
 }
コード例 #8
0
 public ExtensionConstantGenerator(IEnumerable <ExtensionInfo> extensions, NameLookup nameLookup, NamespaceMap namespaceMap)
 {
     this.extensions   = extensions;
     this.nameLookup   = nameLookup;
     this.namespaceMap = namespaceMap;
 }