Exemple #1
0
 public OccCodeWriter(string outputPath, DataNode apiNode, DataNode set)
 {
     _outputPath      = outputPath;
     _apiNode         = apiNode;
     _set             = set;
     _csProjectWriter = new CSharpProjectWriter("NaroOccCore.dll", "File.list", "NaroCppCore.csproj",
                                                "..\\..\\..\\..\\NaroOccCore", "..\\..\\..\\");
 }
Exemple #2
0
 public CSharpClassWriter(CSharpProjectWriter projectWriter, DataNode classNode, string dllName)
 {
     _dllName                 = dllName;
     ProjectWriter            = projectWriter;
     ClassName                = classNode.Name;
     BeautifiedClassName      = Util.BeautifiedClassName(ClassName);
     UsedPackages             = new List <string>();
     Methods                  = new List <MethodWriter>();
     Constructors             = new List <ConstructorWriter>();
     _importedNativeFunctions = new List <string>();
     BuildNamespace();
 }