/// <summary>Initializes a new instance of the <see cref="CorrespondingTypeAttribute"/> class.</summary> /// <param name="action">The actions allowed for the type.</param> public CorrespondingTypeAttribute(CorrepsondingAction action) => Action = action;
/// <summary>Initializes a new instance of the <see cref="CorrespondingTypeAttribute"/> class.</summary> /// <param name="typeRef">The type that corresponds to this enumeration value.</param> /// <param name="action">The actions allowed for the type.</param> public CorrespondingTypeAttribute(Type typeRef, CorrepsondingAction action = CorrepsondingAction.GetSet) { TypeRef = typeRef; Action = action; }