public InterfaceType ( // Type properties string fullyQualifiedName, string assembly, string name, string @namespace = null, // Type properties Docs docs = null, // InterfaceType properties string[] interfaces = null, Method[] methods = null, Property[] properties = null, bool isDataType = false ) : base ( fullyQualifiedName, assembly, name, @namespace, TypeKind.Interface, docs ) { Interfaces = interfaces; Methods = methods; Properties = properties; IsDataType = isDataType; }
public Method ( bool isInitializer, bool isProtected, bool isAbstract, Parameter[] parameters = null, Docs docs = null, string name = null, TypeReference returns = null, bool?isVariadic = null, bool?isStatic = null, UserTypeReference overrides = null ) { IsInitializer = isInitializer; IsProtected = isProtected; IsAbstract = isAbstract; Parameters = parameters; Docs = docs; Name = name; Returns = returns; IsVariadic = isVariadic; IsStatic = isStatic; Overrides = overrides; }
public Method ( string name, OptionalValue returns = null, Parameter[] parameters = null, bool isAbstract = false, bool isAsync = false, bool isProtected = false, bool isVariadic = false, bool isStatic = false, string overrides = null, Docs docs = null ) : base ( parameters: parameters, isProtected: isProtected, isVariadic: isVariadic, overrides: overrides, docs: docs ) { Name = name; Returns = returns; IsAbstract = isAbstract; IsAsync = isAsync; IsStatic = isStatic; }
public EnumType ( // Type properties string fullyQualifiedName, string assembly, string name, string @namespace, // EnumType properties EnumMember[] members, // Type properties Docs docs = null ) : base ( fullyQualifiedName, assembly, name, @namespace, TypeKind.Enum, docs ) { Members = members ?? throw new ArgumentNullException(nameof(members)); }
public Assembly ( string name, string description, string homepage, AssemblyRepository repository, Person author, string fingerprint, string version, string license, AssemblyTargets targets = null, IDictionary <string, PackageVersion> dependencies = null, Person[] contributors = null, IDictionary <string, string> bundled = null, IDictionary <string, Type> types = null, Docs docs = null, Readme readme = null ) : base(targets, dependencies) { Name = name ?? throw new ArgumentNullException(nameof(name)); Description = description ?? throw new ArgumentNullException(nameof(description)); Homepage = homepage ?? throw new ArgumentNullException(nameof(homepage)); Repository = repository ?? throw new ArgumentNullException(nameof(repository)); Author = author ?? throw new ArgumentNullException(nameof(author)); Fingerprint = fingerprint ?? throw new ArgumentNullException(nameof(fingerprint)); Version = version ?? throw new ArgumentNullException(nameof(version)); License = license ?? throw new ArgumentNullException(nameof(license)); Contributors = contributors; Bundled = bundled; Types = types; Docs = docs; Readme = readme; }
public Parameter ( string name, TypeReference type, bool isOptional = false, bool isVariadic = false, Docs docs = null ) : base(type: type, isOptional: isOptional) { Name = name ?? throw new ArgumentNullException(nameof(name)); Docs = docs; IsVariadic = isVariadic; }
public Parameter ( string name, TypeReference type, Docs docs = null, bool?isVariadic = null ) { Name = name ?? throw new ArgumentNullException(nameof(name)); Type = type ?? throw new ArgumentNullException(nameof(type)); Docs = docs; IsVariadic = isVariadic; }
protected Callable ( Parameter[] parameters = null, bool isProtected = false, bool isVariadic = false, string overrides = null, Docs docs = null ) { Parameters = parameters; IsProtected = isProtected; IsVariadic = isVariadic; Overrides = overrides; Docs = docs; }
public Initializer ( Parameter[] parameters = null, bool isProtected = false, bool isVariadic = false, string overrides = null, Docs docs = null ) : base( parameters: parameters, isProtected: isProtected, isVariadic: isVariadic, overrides: overrides, docs: docs ) { }
public Type ( string fullyQualifiedName, string assembly, string name, string @namespace, TypeKind kind, Docs docs = null ) { FullyQualifiedName = fullyQualifiedName ?? throw new ArgumentNullException(nameof(fullyQualifiedName)); Assembly = assembly ?? throw new ArgumentNullException(nameof(assembly)); Name = name ?? throw new ArgumentNullException(nameof(name)); Namespace = @namespace; Kind = kind; Docs = docs; }
public Assembly ( string name, string version, IDictionary <string, Type> types = null, Targets targets = null, IDictionary <string, PackageVersion> dependencies = null, IDictionary <string, string> bundled = null, Docs docs = null, Readme readme = null ) : base(targets, dependencies) { Name = name ?? throw new ArgumentNullException(nameof(name)); Version = version ?? throw new ArgumentNullException(nameof(version)); Types = types; Bundled = bundled; Docs = docs; Readme = readme; }
public Property ( string name, TypeReference type, bool?isImmutable = null, bool?isProtected = null, bool?isAbstract = null, Docs docs = null, bool?isStatic = null, bool?isConstant = null ) { Name = name ?? throw new ArgumentNullException(nameof(name)); Type = type ?? throw new ArgumentNullException(nameof(type)); IsImmutable = isImmutable; IsProtected = isProtected; IsAbstract = isAbstract; Docs = docs; IsStatic = isStatic; IsConstant = isConstant; }
public ClassType ( // Type properties string fullyQualifiedName, string assembly, string name, // ClassType properties bool isAbstract, string @namespace = null, // Type properties Docs docs = null, // ClassType properties TypeReference @base = null, Method initializer = null, Property[] properties = null, Method[] methods = null, TypeReference[] interfaces = null ) : base ( fullyQualifiedName, assembly, name, @namespace, TypeKind.Class, docs ) { IsAbstract = isAbstract; Base = @base; Initializer = initializer; Properties = properties; Methods = methods; Interfaces = interfaces; }
public Property ( string name, TypeReference type, bool isImmutable = false, bool isOptional = false, bool isProtected = false, bool isAbstract = false, bool isStatic = false, bool isConstant = false, string overrides = null, Docs docs = null ) : base(type: type, isOptional: isOptional) { Name = name ?? throw new ArgumentNullException(nameof(name)); IsImmutable = isImmutable; IsProtected = isProtected; IsAbstract = isAbstract; Docs = docs; IsStatic = isStatic; IsConstant = isConstant; Overrides = overrides; }
public EnumMember(string name, Docs docs = null) { Name = name ?? throw new ArgumentNullException(nameof(name)); Docs = docs; }