This commit is contained in:
2018-06-29 19:47:36 +00:00
commit be7f501333
3769 changed files with 1425961 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
Imports CSLA.BrokenRules
Public Class MaxLengthArgs
Inherits RuleArgs
Private mMax As Integer
Public ReadOnly Property MaxLength() As Integer
Get
Return mMax
End Get
End Property
Public Sub New(ByVal maxLength As Integer)
mMax = maxLength
End Sub
Public Sub New(ByVal propertyName As String, ByVal maxLength As Integer)
MyBase.New(propertyName)
mMax = maxLength
End Sub
End Class