C# Class Provider.Provider

Inheritance: ITypeProvider, IProvidedNamespace
显示文件 Open project: Huddle/Puddle

Protected Methods

Method Description
GetChildItems ( string path, bool recurse ) : void
GetChildName ( string path ) : string
GetItem ( string path ) : void
HasChildItems ( string path ) : bool
IsItemContainer ( string path ) : bool
IsValidPath ( string path ) : bool
ItemExists ( string path ) : bool
MakePath ( string parent, string child ) : string
NewDrive ( PSDriveInfo drive ) : PSDriveInfo
NewDriveDynamicParameters ( ) : object
NewItem ( string path, string itemTypeName, object newItemValue ) : void
RemoveItem ( string path, bool recurse ) : void
SetItem ( string path, object value ) : void

Private Methods

Method Description
GetChildNameWhenKnownParent ( string path ) : string

Method Details

GetChildItems() protected method

protected GetChildItems ( string path, bool recurse ) : void
path string
recurse bool
return void

GetChildName() protected method

protected GetChildName ( string path ) : string
path string
return string

GetItem() protected method

protected GetItem ( string path ) : void
path string
return void

HasChildItems() protected method

protected HasChildItems ( string path ) : bool
path string
return bool

IsItemContainer() protected method

protected IsItemContainer ( string path ) : bool
path string
return bool

IsValidPath() protected method

protected IsValidPath ( string path ) : bool
path string
return bool

ItemExists() protected method

protected ItemExists ( string path ) : bool
path string
return bool

MakePath() protected method

protected MakePath ( string parent, string child ) : string
parent string
child string
return string

NewDrive() protected method

protected NewDrive ( PSDriveInfo drive ) : PSDriveInfo
drive PSDriveInfo
return PSDriveInfo

NewDriveDynamicParameters() protected method

protected NewDriveDynamicParameters ( ) : object
return object

NewItem() protected method

protected NewItem ( string path, string itemTypeName, object newItemValue ) : void
path string
itemTypeName string
newItemValue object
return void

RemoveItem() protected method

protected RemoveItem ( string path, bool recurse ) : void
path string
recurse bool
return void

SetItem() protected method

protected SetItem ( string path, object value ) : void
path string
value object
return void