C# Class Google.GData.Extensions.When

GData schema extension describing a period of time.
Inheritance: IExtensionElement, IExtensionElementFactory
显示文件 Open project: moljac/MonoMobile.Google.GData Class Usage Examples

Public Methods

Method 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 method

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
return IExtensionElementFactory

Save() public method

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

When() public method

Constructs a new instance of a When object.
public When ( ) : System
return System

When() public method

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.
return System

When() public method

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.
return System