Click or drag to resize
CMSOutputResource Class
Output container for cached text resources. Supports minification and compression.
Inheritance Hierarchy
SystemObject
  CMS.HelpersCMSOutputResource

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public class CMSOutputResource : IDataContainer, 
	ISimpleDataContainer

The CMSOutputResource type exposes the following members.

Constructors
  NameDescription
Public methodCMSOutputResource
Top
Properties
  NameDescription
Public propertyBinaryData
File binary data
Public propertyCacheDependency
Cache dependency for the output
Public propertyColumnNames
Gets the names of the columns this container contains.
Public propertyComponentFiles
Gets or sets the list of component files
Public propertyCompressedData
Gets or sets the compressed version of the data in the container.
Public propertyContainsCompressedData
Gets if the container contains compressed version of the data.
Public propertyContainsMinifiedData
Gets if the container contains minified version of the data.
Public propertyContentType
Content type of the resource
Public propertyData
Gets or sets the data in the container.
Public propertyEtag
Gets or sets the E-tag of the data.
Public propertyExtension
Output file extension
Public propertyFileName
Output file name
Public propertyItem
Gets or sets the value of the column.
Public propertyLastModified
Gets or sets the timestamp for last modification of the data.
Public propertyMinifiedCompressedData
Gets or sets the minified and compressed version of the data in the container.
Public propertyMinifiedData
Gets or sets the minified version of the data in the container.
Public propertyName
Gets or sets the name of the data in the container.
Public propertySize
Gets the approximate size of the data in the container.
Top
Methods
  NameDescription
Public methodContainsColumn
Checks if a container contains specific column.
Public methodGetValue
Gets the value of a column.
Public methodSetValue
Sets the value of a column.
Public methodTryGetValue
Attempts to retrieve a value of a column.
Top
Extension Methods
  NameDescription
Public Extension MethodCopyTo
Copies the data of specified columns of the source object to the target object.
(Defined by DataExtensions.)
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
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Top
See Also