Click or drag to resize
TimeSpanContainer Class
Object encapsulating TimeSpan objects to be accessible via macro engine.
Inheritance Hierarchy
SystemObject
  CMS.MacroEngineTimeSpanContainer

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 13.0.131
Syntax
C#
public class TimeSpanContainer : IDataContainer, 
	ISimpleDataContainer, IFormattable

The TimeSpanContainer type exposes the following members.

Constructors
  NameDescription
Public methodTimeSpanContainer
Creates new instance of TimeSpanContainer.
Top
Properties
  NameDescription
Public propertyColumnNames
Column names.
Public propertyItem
Gets the value of the column, setter is not implemented.
Public propertyTimeSpan
Gets the encapsulated TimeSpan.
Top
Methods
  NameDescription
Public methodContainsColumn
Returns true if the object contains specified column.
Public methodEquals
Returns true if time spans are same.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Returns hash code.
(Overrides ObjectGetHashCode.)
Public methodGetValue
Gets or sets the value of the column.
Public methodSetValue
Not implemented.
Public methodToString
Returns string representation of datetime.
(Overrides ObjectToString.)
Public methodToString(String, IFormatProvider)
Formats the value of the current instance using the specified format.
Public methodTryGetValue
Returns value of column.
Top
Extension Methods
  NameDescription
Public Extension MethodCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToXML(XmlWriter, Boolean)Overloaded.
Writes XML representation of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.)
Public Extension MethodToXML(String, Boolean)Overloaded.
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToXML(XmlWriter, ListString, Boolean)Overloaded.
Writes XML representation of selected columns of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.)
Top
See Also