C# Class Scenarioo.Model.Docu.Entities.Labels

Inheritance: IXmlSerializable
Exibir arquivo Open project: scenarioo/scenarioo-cs Class Usage Examples

Public Methods

Method Description
AddLabel ( string label ) : Labels
AddLabels ( IEnumerable labelsToSet ) : void
GetSchema ( ) : XmlSchema
IsValidLabel ( string label ) : bool

Validates a label for validity. A label must only contain letters, numbers and/or '_', '-'

ReadXml ( XmlReader reader ) : void
WriteXml ( XmlWriter writer ) : void

Method Details

AddLabel() public method

public AddLabel ( string label ) : Labels
label string
return Labels

AddLabels() public method

public AddLabels ( IEnumerable labelsToSet ) : void
labelsToSet IEnumerable
return void

GetSchema() public method

public GetSchema ( ) : XmlSchema
return System.Xml.Schema.XmlSchema

IsValidLabel() public static method

Validates a label for validity. A label must only contain letters, numbers and/or '_', '-'
public static IsValidLabel ( string label ) : bool
label string
return bool

ReadXml() public method

public ReadXml ( XmlReader reader ) : void
reader System.Xml.XmlReader
return void

WriteXml() public method

public WriteXml ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
return void