/// <summary> /// Initializes a new instance of the <see cref="T:System.Object" /> class. /// </summary> public TypeArgumentConfiguration(TypeArgumentModifier modifier = TypeArgumentModifier.None, TypeArgumentConditionModifier conditionModifier = TypeArgumentConditionModifier.None, params TypeUsageInfo[] conditionTypes) { Modifier = modifier; ConditionModifier = conditionModifier; ConditionTypes = conditionTypes ?? new TypeUsageInfo[0]; }
public static TypeUsageInfo CreateTypeArgument(string name, TypeArgumentModifier modifier = TypeArgumentModifier.None, TypeArgumentConditionModifier conditionModifier = TypeArgumentConditionModifier.None, params TypeUsageInfo[] conditionTypes) { return CreateTypeArgument(name, new TypeArgumentConfiguration(modifier, conditionModifier, conditionTypes)); }
public static TypeUsageInfo CreateTypeArgument(string name, TypeArgumentModifier modifier = TypeArgumentModifier.None, TypeArgumentConditionModifier conditionModifier = TypeArgumentConditionModifier.None, params TypeUsageInfo[] conditionTypes) { return(CreateTypeArgument(name, new TypeArgumentConfiguration(modifier, conditionModifier, conditionTypes))); }