1 | "use strict";
|
2 | var __extends = (this && this.__extends) || (function () {
|
3 | var extendStatics = Object.setPrototypeOf ||
|
4 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
5 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
6 | return function (d, b) {
|
7 | extendStatics(d, b);
|
8 | function __() { this.constructor = d; }
|
9 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
10 | };
|
11 | })();
|
12 | Object.defineProperty(exports, "__esModule", { value: true });
|
13 | var CSharpType = (function () {
|
14 | function CSharpType(namespace, name, inherits) {
|
15 | this.namespace = namespace;
|
16 | this.name = name;
|
17 | this.inherits = inherits;
|
18 | }
|
19 | return CSharpType;
|
20 | }());
|
21 | exports.CSharpType = CSharpType;
|
22 | var CSharpClassOrStructOrInterface = (function (_super) {
|
23 | __extends(CSharpClassOrStructOrInterface, _super);
|
24 | function CSharpClassOrStructOrInterface(namespace, name, inherits, constructors, properties) {
|
25 | var _this = _super.call(this, namespace, name, inherits) || this;
|
26 | _this.namespace = namespace;
|
27 | _this.name = name;
|
28 | _this.inherits = inherits;
|
29 | _this.constructors = constructors;
|
30 | _this.properties = properties;
|
31 | return _this;
|
32 | }
|
33 | return CSharpClassOrStructOrInterface;
|
34 | }(CSharpType));
|
35 | exports.CSharpClassOrStructOrInterface = CSharpClassOrStructOrInterface;
|
36 | var CSharpMemberType = (function () {
|
37 | function CSharpMemberType(name, isNullable, isCollection) {
|
38 | this.name = name;
|
39 | this.isNullable = isNullable;
|
40 | this.isCollection = isCollection;
|
41 | }
|
42 | return CSharpMemberType;
|
43 | }());
|
44 | exports.CSharpMemberType = CSharpMemberType;
|
45 | var CSharpContructor = (function () {
|
46 | function CSharpContructor(parameters) {
|
47 | this.parameters = parameters;
|
48 | }
|
49 | return CSharpContructor;
|
50 | }());
|
51 | exports.CSharpContructor = CSharpContructor;
|
52 | var CSharpMember = (function () {
|
53 | function CSharpMember(type, name) {
|
54 | this.type = type;
|
55 | this.name = name;
|
56 | }
|
57 | return CSharpMember;
|
58 | }());
|
59 | exports.CSharpMember = CSharpMember;
|
60 | var CSharpProperty = (function (_super) {
|
61 | __extends(CSharpProperty, _super);
|
62 | function CSharpProperty(type, name) {
|
63 | var _this = _super.call(this, type, name) || this;
|
64 | _this.type = type;
|
65 | _this.name = name;
|
66 | return _this;
|
67 | }
|
68 | return CSharpProperty;
|
69 | }(CSharpMember));
|
70 | exports.CSharpProperty = CSharpProperty;
|
71 | var CSharpParameter = (function (_super) {
|
72 | __extends(CSharpParameter, _super);
|
73 | function CSharpParameter(type, name, defaultValue) {
|
74 | var _this = _super.call(this, type, name) || this;
|
75 | _this.type = type;
|
76 | _this.name = name;
|
77 | _this.defaultValue = defaultValue;
|
78 | return _this;
|
79 | }
|
80 | return CSharpParameter;
|
81 | }(CSharpMember));
|
82 | exports.CSharpParameter = CSharpParameter;
|
83 | var CSharpEnum = (function (_super) {
|
84 | __extends(CSharpEnum, _super);
|
85 | function CSharpEnum(namespace, name, inherits, entries) {
|
86 | var _this = _super.call(this, namespace, name, inherits) || this;
|
87 | _this.namespace = namespace;
|
88 | _this.name = name;
|
89 | _this.inherits = inherits;
|
90 | _this.entries = entries;
|
91 | return _this;
|
92 | }
|
93 | return CSharpEnum;
|
94 | }(CSharpType));
|
95 | exports.CSharpEnum = CSharpEnum;
|
96 | var CSharpEnumEntry = (function () {
|
97 | function CSharpEnumEntry(name, value) {
|
98 | this.name = name;
|
99 | this.value = value;
|
100 | }
|
101 | return CSharpEnumEntry;
|
102 | }());
|
103 | exports.CSharpEnumEntry = CSharpEnumEntry;
|
104 |
|
\ | No newline at end of file |