성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
MathJax 입력기
최근 덧글
[정성태] 제가 큰 실수를 했군요. ^^; Delegate를 통한 Bein...
[정성태] Working with Rust Libraries from C#...
[정성태] Detecting blocking calls using asyn...
[정성태] 아쉽게도, 커뮤니티는 아니고 개인 블로그입니다. ^^
[정성태] 질문이 잘 이해가 안 됩니다. 우선, 해당 소스코드에서 ILis...
[양승조
] var대신 dinamic으로 선언해서 해결은 했습니다. 맞는 해...
[양승조
] 또 막혔습니다. ㅠㅠ var list = props[i].Ge...
[양승조
] 아. 감사합니다. 어제는 안됐던것 같은데....정신을 차려야겠네...
[정성태] "props[i].GetValue(props[i])" 코드에서 ...
[정성태] 저렇게 조각 코드 말고, 실제로 재현이 되는 예제 프로젝트를 압...
글쓰기
제목
이름
암호
전자우편
HTML
홈페이지
유형
닷넷
.NET 3.0
.NET 3.5
.NET 4.0
VC++
개발 환경 구성
제품 소개
VS.NET IDE
Vista
Windows 7
Windows 8
Windows 서버
Team Foundation Server
IIS
디버깅 기술
Win32
64비트
오피스
웹
기타
Phone
부모글 보이기/감추기
내용
Validators supplied in the VAB <br /> ; <a target="_blank" href="https://docs.microsoft.com/en-us/archive/blogs/tomholl/validators-supplied-in-the-vab">https://docs.microsoft.com/en-us/archive/blogs/tomholl/validators-supplied-in-the-vab</a> <br /> <br /> 아직 포함되지는 않았고요. ^^ 포함할 계획이라고 합니다. 다음과 같은 validator들이 포함된다고 하는군요.<br /> <br /> <hr /> <div style=padding:10px><ul> <li><strong>Not Null Validator</strong>: Validates that a value is not null</li> <li><strong>Range Vailidator </strong>(generic, supporting IComparable types): Validates that a value falls within a specified range. The range may be closed or open ended, and may be inclusive or exclusive.</li> <li><strong>Relative DateTime Validator</strong>: Validates that a DateTime falls within a specified range, relative to now. The range may be closed or open ended, and may be inclusive or exclusive. For example, you could check if a date is between now and 100 years from now, or from 20 days ago to 4 days from now.</li> <li><strong>String Length Validator</strong>: Validates that a string is of a certain length. May contain a minimum, a maximum or both.</li> <li><strong>RegEx Validator</strong>: Validates that a string matches a specified regular expression. We'll also include support for "pre-canned" RegEx patterns for common things such as URLs, e-mail addresses, phone numbers etc.</li> <li><strong>Contains Characters Validator: </strong>Validates that a string contains all of the characters in a specified string.</li> <li><strong>Type Conversion Validator: </strong>Validates that a string can be converted to a specific type (using a specific culture). For example, this could check that "6.32" can be converted to a Double, or "2007-02-09" can be converted to a DateTime.</li> <li><strong>Enum Conversion Validator: </strong>Validates that a string can be converted to a value in a specified enum type. For example, this could check that "Blue" could be converted to a value in the Color enum.</li> <li><strong>Domain Validator</strong> (generic): Validates that a value is included in a specified set, such as {"John", "Paul", "George", "Ringo"} or {2, 3, 5, 7, 11}. If the set only contains one value, this validator can be used to check for equality.</li></ul> <p>Next, here are our planned "composition" validators:</p> <ul> <li><strong>And Composite Validator</strong>: Indicates that all of a set of child validators must pass</li> <li><strong>Or Composite Validator: </strong>Indicates that just one of a set of child validators must pass.</li></ul> <p>Finally, here are our planned "value access" validators, which can be used to specify validation rules on complex objects:</p> <ul> <li><strong>Property: </strong>Applies a validator to a property of an object</li> <li><strong>Field</strong>: Applies a validator to a field of an object</li> <li><strong>Method: </strong>Applies a validator to the result of a method of an object (can only be used for methods with no parameters and a non-void result, such as ToString()).</li> <li><strong>Object</strong>: Specifies that a nested object needs to be validated by a particular rule set.</li> <li><strong>Collection</strong>: Specifies that a nested collection of objects needs to be validated by a particular rule set.</li></ul> <p>Did we miss anything important?</p></div>
첨부파일
스팸 방지용 인증 번호
1609
(왼쪽의 숫자를 입력해야 합니다.)