C# Class newtelligence.DasBlog.Web.Core.ValidTagCollection

Inheritance: ICollection
Show file Open project: AArnott/dasblog Class Usage Examples

Private Properties

Property Type Description
IEnumerable IEnumerator

Public Methods

Method Description
Add ( ValidTag tag ) : void
ICollection ( Array array, int index ) : void

Copies the ValidTags to the array, starting at the index.

IsValidTag ( string tagName ) : bool

Determines if the tagName is valid.

ToJavaScriptArray ( ) : string
ToString ( ) : string

Returns a T:System.String that represents the current ValidTag.

ValidTagCollection ( ) : System
ValidTagCollection ( string tagsDefinition ) : System

Initializes a new instance of the ValidTagCollection class.

this ( int index ) : ValidTag
this ( string tagName ) : ValidTag

Gets the ValidTag with the specified tag name.

Private Methods

Method Description
IEnumerable ( ) : IEnumerator

Gets the enumerator over the tags.

Method Details

Add() public method

public Add ( ValidTag tag ) : void
tag ValidTag
return void

ICollection() public method

Copies the ValidTags to the array, starting at the index.
public ICollection ( Array array, int index ) : void
array System.Array The array to copy the tags to.
index int The index to start at.
return void

IsValidTag() public method

Determines if the tagName is valid.
public IsValidTag ( string tagName ) : bool
tagName string The tag to validate.
return bool

ToJavaScriptArray() public method

public ToJavaScriptArray ( ) : string
return string

ToString() public method

Returns a T:System.String that represents the current ValidTag.
public ToString ( ) : string
return string

ValidTagCollection() public method

public ValidTagCollection ( ) : System
return System

ValidTagCollection() public method

Initializes a new instance of the ValidTagCollection class.
public ValidTagCollection ( string tagsDefinition ) : System
tagsDefinition string The tags definition, defined as 'tag1@att1@att2,tag2@att3@att4'.
return System

this() public method

public this ( int index ) : ValidTag
index int
return ValidTag

this() public method

Gets the ValidTag with the specified tag name.
public this ( string tagName ) : ValidTag
tagName string
return ValidTag