/// <summary> /// Initializes a new instance of the <see cref="T:System.Object" /> class. /// </summary> private TypeUsageInfo(string name, string typeNamespace, string shortName, TypeUsageInfoConfiguration configuration = TypeUsageInfoConfiguration.Class, TypeUsageInfo[] typeParameters = null, TypeArgumentConfiguration typeArgumentConfiguration = null) : base(name, typeNamespace) { _configuration = configuration; Namespace = typeNamespace; ShortName = shortName; TypeArgumentConfiguration = typeArgumentConfiguration; TypeArguments = typeParameters ?? new TypeUsageInfo[0]; }
public static TypeUsageInfo CreateTypeArgument(string name, TypeArgumentConfiguration configuration) { return new TypeUsageInfo(name, null, null, TypeUsageInfoConfiguration.TypeArgument, null, configuration); }
public static TypeUsageInfo CreateTypeArgument(string name, TypeArgumentConfiguration configuration) { return(new TypeUsageInfo(name, null, null, TypeUsageInfoConfiguration.TypeArgument, null, configuration)); }