public CSharpUnresolvedType(CSharpSolution solution, CSharpNamespace ns, IReadOnlyList <CSharpNamespace> usings, string name) { this.solution = solution; this.ns = ns; this.usings = usings; this.Name = name; }
public CSharpEnum(CSharpSolution solution, CSharpNamespace ns, IReadOnlyList <CSharpNamespace> usings, string name, Type type, bool isPublic, IReadOnlyList <CSharpEnumValue> values, IReadOnlyList <CSharpAttribute> attributes) : base(ns, usings, name, CSharpObjectType.Enum, new CSharpUnresolvedType[] { new CSharpUnresolvedType(solution, ns, usings, type.Name) }, 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.Type = type; this.Values = values; }