/// <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];
 }
Exemple #2
0
 /// <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];
 }
Exemple #3
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));
 }
Exemple #4
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)));
 }