/// <summary> /// Initializes a new instance of the <see cref="ClassType" /> class. /// </summary> /// <param name="name">The name.</param> /// <param name="genericTypeArgumentList">The generic type argument list.</param> /// <param name="returnType">Type of the return.</param> public GenericTypeArgument(string name, IGenericTypeArgumentList genericTypeArgumentList, IType returnType) : base(name, genericTypeArgumentList, returnType) { }
/// <summary> /// Initializes a new instance of the <see cref="ClassType" /> class. /// </summary> /// <param name="identifier">The identifier.</param> /// <param name="genericTypeArgumentList">The generic type argument list.</param> /// <param name="returnType">Type of the return.</param> public GenericTypeArgument(IIdentifier identifier, IGenericTypeArgumentList genericTypeArgumentList, IType returnType) : this(identifier.Name, genericTypeArgumentList, returnType) { }
/// <summary> /// Initializes a new instance of the <see cref="ClassType"/> class. /// </summary> /// <param name="name">The name.</param> /// <param name="genericTypeArguments">The generic type arguments.</param> /// <param name="returnType">Type of the return.</param> public ClassType(string name, IGenericTypeArgumentList genericTypeArguments, IType returnType) : base(name, genericTypeArguments ?? new GenericTypeArgumentList(), returnType) { }
/// <summary> /// Initializes a new instance of the <see cref="GeneralType" /> class. /// </summary> /// <param name="name">The name.</param> /// <param name="genericTypeArguments">The generic type arguments.</param> /// <param name="returnType">Type of the return.</param> protected GeneralType(string name, IGenericTypeArgumentList genericTypeArguments, IType returnType) { this.Name = name; this.GenericTypeArguments = genericTypeArguments; this.ReturnType = returnType; }
/// <summary> /// Initializes a new instance of the <see cref="ClassType"/> class. /// </summary> /// <param name="identifier">The identifier.</param> /// <param name="genericTypeArguments">The generic type arguments.</param> /// <param name="returnType">Type of the return.</param> public ClassType(IIdentifier identifier, IGenericTypeArgumentList genericTypeArguments, IType returnType) : this(identifier.Name, genericTypeArguments, returnType) { }