Class PublishedDataType
Represents a published data type.
Inheritance
System.Object
      Namespace: Umbraco.Cms.Core.Models.PublishedContent
Assembly: Umbraco.Core.dll
Syntax
public class PublishedDataType : object
  Remarks
Instances of the PublishedDataType class are immutable, ie if the data type changes, then a new class needs to be created.
These instances should be created by an IPublishedContentTypeFactory.
Constructors
View SourcePublishedDataType(Int32, String, Lazy<Object>)
Initializes a new instance of the PublishedDataType class.
Declaration
public PublishedDataType(int id, string editorAlias, Lazy<object> lazyConfiguration)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | id | |
| System.String | editorAlias | |
| Lazy<System.Object> | lazyConfiguration | 
Properties
View SourceConfiguration
Gets the data type configuration.
Declaration
public object Configuration { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Object | 
EditorAlias
Gets the data type editor alias.
Declaration
public string EditorAlias { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Id
Gets the datatype identifier.
Declaration
public int Id { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Methods
View SourceConfigurationAs<T>()
Gets the configuration object.
Declaration
public T ConfigurationAs<T>()
    where T : class
  Returns
| Type | Description | 
|---|---|
| T | 
Type Parameters
| Name | Description | 
|---|---|
| T | The expected type of the configuration object.  |