C# Class Google.GData.Extensions.When

GData schema extension describing a period of time.
Inheritance: IExtensionElement, IExtensionElementFactory
Afficher le fichier Open project: moljac/MonoMobile.Google.GData Class Usage Examples

Méthodes publiques

Méthode Description
CreateInstance ( XmlNode node, Google.GData.Client.AtomFeedParser parser ) : IExtensionElementFactory

Parses an xml node to create a Where object.

Save ( XmlWriter writer ) : void

Persistence method for the When object

When ( ) : System

Constructs a new instance of a When object.

When ( System.DateTime start, System.DateTime end ) : System

Constructs a new instance of a When object with provided data.

When ( System.DateTime start, System.DateTime end, bool allDay ) : System

Constructs a new instance of a When object with provided data.

Method Details

CreateInstance() public méthode

Parses an xml node to create a Where object.
public CreateInstance ( XmlNode node, Google.GData.Client.AtomFeedParser parser ) : IExtensionElementFactory
node System.Xml.XmlNode the node to parse node
parser Google.GData.Client.AtomFeedParser the xml parser to use if we need to dive deeper
Résultat IExtensionElementFactory

Save() public méthode

Persistence method for the When object
public Save ( XmlWriter writer ) : void
writer System.Xml.XmlWriter the xmlwriter to write into
Résultat void

When() public méthode

Constructs a new instance of a When object.
public When ( ) : System
Résultat System

When() public méthode

Constructs a new instance of a When object with provided data.
public When ( System.DateTime start, System.DateTime end ) : System
start System.DateTime The beginning of the event.
end System.DateTime The end of the event.
Résultat System

When() public méthode

Constructs a new instance of a When object with provided data.
public When ( System.DateTime start, System.DateTime end, bool allDay ) : System
start System.DateTime The beginning of the event.
end System.DateTime The end of the event.
allDay bool A flag to indicate an all day event.
Résultat System