Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Models.Attributes.CreditCardNumberValidationAttribute Class

(not specified)

(not specified)

Namespace: YetaWF.Core.Models.Attributes
Assembly: YetaWF.Core

Inheritance

Syntax

public class CreditCardNumberValidationAttribute : YetaWF.Core.Models.Attributes.RegexValidationBaseAttribute;

Constructors

PublicCreditCardNumberValidationAttributeConstructor.

Properties

PublicInherited from System.ComponentModel.DataAnnotations.DataTypeAttributeCustomDataTypeGets the name of custom field template that is associated with the data field.
PublicInherited from System.ComponentModel.DataAnnotations.DataTypeAttributeDataTypeGets the type that is associated with the data field.
PublicInherited from System.ComponentModel.DataAnnotations.DataTypeAttributeDisplayFormatGets a data-field display format.
PublicInherited from System.ComponentModel.DataAnnotations.ValidationAttributeErrorMessageGets or sets an error message to associate with a validation control if validation fails.
PublicInherited from System.ComponentModel.DataAnnotations.ValidationAttributeErrorMessageResourceNameGets or sets the error message resource name to use in order to look up the ErrorMessageResourceType property value if validation fails.
PublicInherited from System.ComponentModel.DataAnnotations.ValidationAttributeErrorMessageResourceTypeGets or sets the resource type to use for error-message lookup if validation fails.
PublicInherited from YetaWF.Core.Models.Attributes.RegexValidationBaseAttributeErrorMessageWithDataFormat(not specified)
PublicInherited from YetaWF.Core.Models.Attributes.RegexValidationBaseAttributeErrorMessageWithFieldFormat(not specified)
PublicInherited from YetaWF.Core.Models.Attributes.RegexValidationBaseAttributePattern(not specified)
PublicInherited from System.ComponentModel.DataAnnotations.ValidationAttributeRequiresValidationContextGets a value that indicates whether the attribute requires validation context.
PublicInherited from System.AttributeTypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute.
ProtectedInherited from YetaWF.Core.Models.Attributes.RegexValidationBaseAttribute_regex(not specified)
ProtectedInherited from System.ComponentModel.DataAnnotations.ValidationAttributeErrorMessageStringGets the localized validation error message.

Methods

PublicInherited from YetaWF.Core.Models.Attributes.RegexValidationBaseAttributeAddValidation(not specified)
PublicInherited from System.AttributeEqualsReturns a value that indicates whether this instance is equal to a specified object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ComponentModel.DataAnnotations.ValidationAttributeFormatErrorMessageApplies formatting to an error message, based on the data field where the error occurred.
PublicStaticGetCardTypeFromNumber(not specified)
PublicStaticInherited from System.AttributeGetCustomAttributeRetrieves a custom attribute applied to a specified assembly. Parameters specify the assembly and the type of the custom attribute to search for.
PublicStaticInherited from System.AttributeGetCustomAttributesRetrieves an array of the custom attributes applied to an assembly. A parameter specifies the assembly.
PublicInherited from System.ComponentModel.DataAnnotations.DataTypeAttributeGetDataTypeNameReturns the name of the type that is associated with the data field.
PublicInherited from System.AttributeGetHashCodeReturns the hash code for this instance.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
PublicInherited from System.ComponentModel.DataAnnotations.ValidationAttributeGetValidationResultChecks whether the specified value is valid with respect to the current validation attribute.
PublicInherited from System.AttributeIsDefaultAttributeWhen overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
PublicStaticInherited from System.AttributeIsDefinedDetermines whether any custom attributes are applied to an assembly. Parameters specify the assembly, and the type of the custom attribute to search for.
PublicIsValid(not specified)
PublicIsValidNumber(not specified)
PublicInherited from System.AttributeMatchWhen overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicPassesLuhnTest(not specified)
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.
PublicInherited from System.ComponentModel.DataAnnotations.ValidationAttributeValidateValidates the specified object.

Enums

ProtectedCreditCardTypeTypeCreditCardTypeType copied for PayPal WebPayment Pro API (If you use the PayPal API, you do not need this definition)

See Also YetaWF.Core Overview