C# Class FilezillaPermission, FileZilla.NET

Represents a Filezilla shared folder and associated permissions
ファイルを表示 Open project: sancsoft/FileZilla.NET Class Usage Examples

Public Properties

Property Type Description
Aliases List

Public Methods

Method Description
Create ( XmlDocument doc ) : XmlNode

Create a node containing the permission

CreateOption ( XmlDocument doc, string optionName, bool optionValue ) : XmlNode

Creaate a boolean option for xml

CreateOption ( XmlDocument doc, string optionName, string optionValue ) : XmlNode

Creaate a string-based option for xml

Defaults ( ) : void

Assign default values to the permission object

FilezillaPermission ( ) : System

Default constructor

Read ( XmlNode perm ) : bool

Load the object from an XML node

Update ( XmlDocument doc, XmlNode perm ) : bool

Update the permissions in an XML node from the object

Method Details

Create() public method

Create a node containing the permission
public Create ( XmlDocument doc ) : XmlNode
doc XmlDocument XML configuration document
return XmlNode

CreateOption() public method

Creaate a boolean option for xml
public CreateOption ( XmlDocument doc, string optionName, bool optionValue ) : XmlNode
doc XmlDocument XML configuration document
optionName string name attribute of option
optionValue bool value of option
return XmlNode

CreateOption() public method

Creaate a string-based option for xml
public CreateOption ( XmlDocument doc, string optionName, string optionValue ) : XmlNode
doc XmlDocument XML configuration document
optionName string name attribute of option
optionValue string value of option
return XmlNode

Defaults() public method

Assign default values to the permission object
public Defaults ( ) : void
return void

FilezillaPermission() public method

Default constructor
public FilezillaPermission ( ) : System
return System

Read() public method

Load the object from an XML node
public Read ( XmlNode perm ) : bool
perm XmlNode
return bool

Update() public method

Update the permissions in an XML node from the object
public Update ( XmlDocument doc, XmlNode perm ) : bool
doc XmlDocument xml document
perm XmlNode
return bool

Property Details

Aliases public_oe property

Public members
public List Aliases
return List