C# Class PSHuddle.PSHuddle

Inheritance: System.Management.Automation.Provider.NavigationCmdletProvider
显示文件 Open project: Huddle/Puddle

Private Properties

Property Type Description
GetChildMatcheFromParent string
GetChildNameFromParentName string
GetEntitiesFromPath List
GetEntityFromPath PsHuddle.Entity.Entities.HuddleResourceObject
GetRegEx System.Text.RegularExpressions.Regex
IgnoreRequestFromPowershell bool
IgnoreRequestToProvider bool
PathIsDrive bool
WriteDebug void

Protected Methods

Method Description
GetChildItems ( string path, bool recurse ) : void
GetChildName ( string path ) : string
GetChildNames ( string path, ReturnContainers returnContainers ) : void
GetItem ( string path ) : void
GetParentPath ( string path, string root ) : string
HasChildItems ( string path ) : bool
IsItemContainer ( string path ) : bool
IsValidPath ( string path ) : bool
ItemExists ( string path ) : bool
MakePath ( string parent, string child ) : string
NewDrive ( System.Management.Automation.PSDriveInfo drive ) : System.Management.Automation.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
GetChildMatcheFromParent ( string match ) : string
GetChildNameFromParentName ( string parent ) : string
GetEntitiesFromPath ( string path ) : List
GetEntityFromPath ( string path ) : HuddleResourceObject
GetRegEx ( string pattern ) : Regex
IgnoreRequestFromPowershell ( string path ) : bool
IgnoreRequestToProvider ( string path ) : bool
PathIsDrive ( string path ) : bool
WriteDebug ( string message ) : void

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

GetChildNames() protected method

protected GetChildNames ( string path, ReturnContainers returnContainers ) : void
path string
returnContainers ReturnContainers
return void

GetItem() protected method

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

GetParentPath() protected method

protected GetParentPath ( string path, string root ) : string
path string
root string
return string

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 ( System.Management.Automation.PSDriveInfo drive ) : System.Management.Automation.PSDriveInfo
drive System.Management.Automation.PSDriveInfo
return System.Management.Automation.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