C# 클래스 Qowaiv.Text.WildcardPattern

상속: ISerializable
파일 보기 프로젝트 열기: Corniel/Qowaiv 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Equals bool
IsMatch bool

공개 메소드들

메소드 설명
ISerializable ( SerializationInfo info, StreamingContext context ) : void

Adds the underlying property of a wild card pattern to the serialization info.

IsMatch ( string input ) : bool

Indicates whether the wildcard pattern finds a match in the specified input string.

IsMatch ( string pattern, string input ) : bool

Indicates whether the specified wildcard pattern finds a match in the specified input string.

IsMatch ( string pattern, string input, WildcardPatternOptions options, System.StringComparison comparisonType ) : bool

Indicates whether the specified wildcard pattern finds a match in the specified input string.

WildcardPattern ( string pattern ) : System

Initializes a new instance of a wild card pattern.

WildcardPattern ( string pattern, WildcardPatternOptions options, System.StringComparison comparisonType ) : System

Initializes a new instance of a wild card pattern.

보호된 메소드들

메소드 설명
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Adds the underlying property of a wild card pattern to the serialization info.

this is used by ISerializable.GetObjectData() so that it can be changed by derived classes.

WildcardPattern ( ) : System

Initializes a new instance of a wild card pattern.

No public constructor without arguments.

WildcardPattern ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of a wild card pattern based on the serialization info.

비공개 메소드들

메소드 설명
Equals ( char l, char r ) : bool
IsMatch ( string input, int p, int i ) : bool

Handles the actual matching.

메소드 상세

GetObjectData() 보호된 메소드

Adds the underlying property of a wild card pattern to the serialization info.
this is used by ISerializable.GetObjectData() so that it can be changed by derived classes.
protected GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo The serialization info.
context System.Runtime.Serialization.StreamingContext The streaming context.
리턴 void

ISerializable() 공개 메소드

Adds the underlying property of a wild card pattern to the serialization info.
public ISerializable ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo The serialization info.
context System.Runtime.Serialization.StreamingContext The streaming context.
리턴 void

IsMatch() 공개 메소드

Indicates whether the wildcard pattern finds a match in the specified input string.
/// input is null. ///
public IsMatch ( string input ) : bool
input string /// The string to search for a match. ///
리턴 bool

IsMatch() 공개 정적인 메소드

Indicates whether the specified wildcard pattern finds a match in the specified input string.
/// input is null. ///
public static IsMatch ( string pattern, string input ) : bool
pattern string /// The string that represents the wildcard pattern. ///
input string /// The string to search for a match. ///
리턴 bool

IsMatch() 공개 정적인 메소드

Indicates whether the specified wildcard pattern finds a match in the specified input string.
/// input is null. ///
public static IsMatch ( string pattern, string input, WildcardPatternOptions options, System.StringComparison comparisonType ) : bool
pattern string /// The string that represents the wildcard pattern. ///
input string /// The string to search for a match. ///
options WildcardPatternOptions /// The wildcard pattern options. ///
comparisonType System.StringComparison /// The type of comparison. ///
리턴 bool

WildcardPattern() 보호된 메소드

Initializes a new instance of a wild card pattern.
No public constructor without arguments.
protected WildcardPattern ( ) : System
리턴 System

WildcardPattern() 보호된 메소드

Initializes a new instance of a wild card pattern based on the serialization info.
protected WildcardPattern ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The serialization info.
context System.Runtime.Serialization.StreamingContext The streaming context.
리턴 System

WildcardPattern() 공개 메소드

Initializes a new instance of a wild card pattern.
/// pattern is null. /// /// pattern is empty or invalid. ///
public WildcardPattern ( string pattern ) : System
pattern string /// The pattern to match on. ///
리턴 System

WildcardPattern() 공개 메소드

Initializes a new instance of a wild card pattern.
/// pattern is null. /// /// pattern is empty or invalid. ///
public WildcardPattern ( string pattern, WildcardPatternOptions options, System.StringComparison comparisonType ) : System
pattern string /// The pattern to match on. ///
options WildcardPatternOptions /// The wildcard pattern options. ///
comparisonType System.StringComparison /// The type of comparison. ///
리턴 System