C# Class System.Security.Util.StringExpressionSet

显示文件 Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Protected Properties

Property Type Description
m_alternateDirectorySeparator char
m_directorySeparator char
m_expressions String
m_expressionsArray String[]
m_ignoreCase bool
m_list ArrayList
m_separators char[]
m_throwOnRelative bool
m_trimChars char[]

Public Methods

Method Description
AddExpressions ( ArrayList exprArrayList, bool checkForDuplicates ) : void
AddExpressions ( String str ) : void
AddExpressions ( String str, bool checkForDuplicates, bool needFullPath ) : void
Copy ( ) : StringExpressionSet
Intersect ( StringExpressionSet ses ) : StringExpressionSet
IsEmpty ( ) : bool
IsSubsetOf ( StringExpressionSet ses ) : bool
IsSubsetOfPathDiscovery ( StringExpressionSet ses ) : bool
SetThrowOnRelative ( bool throwOnRelative ) : void
StringExpressionSet ( ) : System.Text
StringExpressionSet ( String str ) : System.Text
StringExpressionSet ( bool ignoreCase, String str, bool throwOnRelative ) : System.Text
StringExpressionSet ( bool ignoreCase, bool throwOnRelative ) : System.Text
ToString ( ) : String
ToStringArray ( ) : String[]
Union ( StringExpressionSet ses ) : StringExpressionSet

Protected Methods

Method Description
AddSingleExpressionNoDuplicates ( String expression ) : void
CheckList ( ) : void
CreateList ( ) : void
CreateNewEmpty ( ) : StringExpressionSet
GenerateString ( ) : void
ProcessSingleString ( String str ) : String
ProcessWholeString ( String str ) : String
Reduce ( ) : void
Split ( String expressions ) : String[]
StringSubsetString ( String left, String right, bool ignoreCase ) : bool
StringSubsetStringExpression ( String left, StringExpressionSet right, bool ignoreCase ) : bool
StringSubsetStringExpressionPathDiscovery ( String left, StringExpressionSet right, bool ignoreCase ) : bool
StringSubsetStringPathDiscovery ( String left, String right, bool ignoreCase ) : bool

Private Methods

Method Description
CanonicalizePath ( String path ) : String
CanonicalizePath ( String path, bool needFullPath ) : String
CreateListFromExpressions ( String str, bool needFullPath ) : ArrayList
GetLongPathName ( String path ) : String
StaticProcessSingleString ( String str ) : String
StaticProcessWholeString ( String str ) : String

Method Details

AddExpressions() public method

public AddExpressions ( ArrayList exprArrayList, bool checkForDuplicates ) : void
exprArrayList System.Collections.ArrayList
checkForDuplicates bool
return void

AddExpressions() public method

public AddExpressions ( String str ) : void
str String
return void

AddExpressions() public method

public AddExpressions ( String str, bool checkForDuplicates, bool needFullPath ) : void
str String
checkForDuplicates bool
needFullPath bool
return void

AddSingleExpressionNoDuplicates() protected method

protected AddSingleExpressionNoDuplicates ( String expression ) : void
expression String
return void

CheckList() protected method

protected CheckList ( ) : void
return void

Copy() public method

public Copy ( ) : StringExpressionSet
return StringExpressionSet

CreateList() protected method

protected CreateList ( ) : void
return void

CreateNewEmpty() protected method

protected CreateNewEmpty ( ) : StringExpressionSet
return StringExpressionSet

GenerateString() protected method

protected GenerateString ( ) : void
return void

Intersect() public method

public Intersect ( StringExpressionSet ses ) : StringExpressionSet
ses StringExpressionSet
return StringExpressionSet

IsEmpty() public method

public IsEmpty ( ) : bool
return bool

IsSubsetOf() public method

public IsSubsetOf ( StringExpressionSet ses ) : bool
ses StringExpressionSet
return bool

IsSubsetOfPathDiscovery() public method

public IsSubsetOfPathDiscovery ( StringExpressionSet ses ) : bool
ses StringExpressionSet
return bool

ProcessSingleString() protected method

protected ProcessSingleString ( String str ) : String
str String
return String

ProcessWholeString() protected method

protected ProcessWholeString ( String str ) : String
str String
return String

Reduce() protected method

protected Reduce ( ) : void
return void

SetThrowOnRelative() public method

public SetThrowOnRelative ( bool throwOnRelative ) : void
throwOnRelative bool
return void

Split() protected method

protected Split ( String expressions ) : String[]
expressions String
return String[]

StringExpressionSet() public method

public StringExpressionSet ( ) : System.Text
return System.Text

StringExpressionSet() public method

public StringExpressionSet ( String str ) : System.Text
str String
return System.Text

StringExpressionSet() public method

public StringExpressionSet ( bool ignoreCase, String str, bool throwOnRelative ) : System.Text
ignoreCase bool
str String
throwOnRelative bool
return System.Text

StringExpressionSet() public method

public StringExpressionSet ( bool ignoreCase, bool throwOnRelative ) : System.Text
ignoreCase bool
throwOnRelative bool
return System.Text

StringSubsetString() protected method

protected StringSubsetString ( String left, String right, bool ignoreCase ) : bool
left String
right String
ignoreCase bool
return bool

StringSubsetStringExpression() protected method

protected StringSubsetStringExpression ( String left, StringExpressionSet right, bool ignoreCase ) : bool
left String
right StringExpressionSet
ignoreCase bool
return bool

StringSubsetStringExpressionPathDiscovery() protected static method

protected static StringSubsetStringExpressionPathDiscovery ( String left, StringExpressionSet right, bool ignoreCase ) : bool
left String
right StringExpressionSet
ignoreCase bool
return bool

StringSubsetStringPathDiscovery() protected static method

protected static StringSubsetStringPathDiscovery ( String left, String right, bool ignoreCase ) : bool
left String
right String
ignoreCase bool
return bool

ToString() public method

public ToString ( ) : String
return String

ToStringArray() public method

public ToStringArray ( ) : String[]
return String[]

Union() public method

public Union ( StringExpressionSet ses ) : StringExpressionSet
ses StringExpressionSet
return StringExpressionSet

Property Details

m_alternateDirectorySeparator protected_oe static_oe property

protected static char m_alternateDirectorySeparator
return char

m_directorySeparator protected_oe static_oe property

protected static char m_directorySeparator
return char

m_expressions protected_oe property

protected String m_expressions
return String

m_expressionsArray protected_oe property

protected String[] m_expressionsArray
return String[]

m_ignoreCase protected_oe property

protected bool m_ignoreCase
return bool

m_list protected_oe property

protected ArrayList m_list
return ArrayList

m_separators protected_oe static_oe property

protected static char[] m_separators
return char[]

m_throwOnRelative protected_oe property

protected bool m_throwOnRelative
return bool

m_trimChars protected_oe static_oe property

protected static char[] m_trimChars
return char[]