public CSharpField(string name, CSharpUnresolvedType type, bool isPublic, bool isStatic, bool isReadOnly, IReadOnlyList <CSharpAttribute> attribues) { this.Name = name; this.Type = type; this.IsPublic = isPublic; this.IsStatic = isStatic; this.IsReadOnly = isReadOnly; this.Attributes = attribues; }
public CSharpParameter(string name, CSharpUnresolvedType type, bool isIn, bool isOut, bool isRef, string defaultValue) { this.Name = name; this.Type = type; this.IsIn = isIn; this.IsOut = isOut; this.IsRef = isRef; this.DefaultValue = defaultValue; }
public CSharpMethod(string name, CSharpUnresolvedType returnType, bool isPublic, bool isStatic, bool isVirtual, bool isAbstract, bool isImplemented, IReadOnlyList <CSharpParameter> parameters, IReadOnlyList <CSharpAttribute> attributes) { this.Name = name; this.ReturnType = returnType; this.IsPublic = isPublic; this.IsStatic = isStatic; this.IsVirtual = isVirtual; this.IsAbstract = isAbstract; this.IsImplemented = isImplemented; this.Parameters = parameters; this.Attributes = attributes; }
public CSharpProperty(string name, CSharpUnresolvedType type, bool isPublic, bool isStatic, bool isVirtual, bool isAbstract, bool hasGet, bool hasSet, bool isGetPublic, bool isSetPublic, IReadOnlyList <CSharpAttribute> attributes) { this.Name = name; this.Type = type; this.IsPublic = isPublic; this.IsStatic = isStatic; this.IsVirtual = isVirtual; this.IsAbstract = isAbstract; this.HasGet = hasGet; this.HasSet = hasSet; this.IsGetPublic = isGetPublic; this.IsSetPublic = isSetPublic; this.Attributes = attributes; }
public CSharpDelegate(CSharpNamespace ns, IReadOnlyList <CSharpNamespace> usings, string name, CSharpUnresolvedType returnType, bool isPublic, IReadOnlyList <CSharpParameter> parameters, IReadOnlyList <CSharpAttribute> attributes) : base(ns, usings, name, CSharpObjectType.Delegate, Array.Empty <CSharpUnresolvedType>(), isPublic, false, false, false, Array.Empty <CSharpObject>(), Array.Empty <CSharpObject>(), Array.Empty <CSharpObject>(), Array.Empty <CSharpEnum>(), Array.Empty <CSharpDelegate>(), Array.Empty <CSharpProperty>(), Array.Empty <CSharpMethod>(), attributes) { this.ReturnType = returnType; this.Parameters = parameters; }