/// <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]; }
internal static TypeUsageInfo Create(string name, string typeNamespace, TypeUsageInfoConfiguration configuration, string shortName = null, TypeUsageInfo[] typeArguments = null) { return new TypeUsageInfo(name, typeNamespace, shortName, configuration, typeArguments); }
internal static TypeUsageInfo Create(string name, string typeNamespace, TypeUsageInfoConfiguration configuration, string shortName = null, TypeUsageInfo[] typeArguments = null) { return(new TypeUsageInfo(name, typeNamespace, shortName, configuration, typeArguments)); }