View Source
Class UmbracoObjectTypeAttribute
Attribute to associate a GUID string and Type with an UmbracoObjectType Enum value
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class UmbracoObjectTypeAttribute : Attribute
Constructors
View Source
UmbracoObjectTypeAttribute(String)
Declaration
public UmbracoObjectTypeAttribute(string objectId)
Parameters
Type |
Name |
Description |
System.String |
objectId |
|
View Source
UmbracoObjectTypeAttribute(String, Type)
Declaration
public UmbracoObjectTypeAttribute(string objectId, Type modelType)
Parameters
Type |
Name |
Description |
System.String |
objectId |
|
Type |
modelType |
|
Properties
View Source
ModelType
Declaration
public Type? ModelType { get; }
Property Value
Type |
Description |
System.Nullable<Type> |
|
View Source
ObjectId
Declaration
public Guid ObjectId { get; }
Property Value