Class AssetContentTypeAttribute
Describes which runtime-type, loadable through the ContentManager, corresponds to the associated asset type.
[AttributeUsage(AttributeTargets.Class)]
public class AssetContentTypeAttribute : Attribute
- Inheritance
-
AssetContentTypeAttribute
- Inherited Members
Constructors
AssetContentTypeAttribute(Type)
Initializes a new instance of the AssetContentTypeAttribute class.
public AssetContentTypeAttribute(Type contentType)
Parameters
contentType
TypeThe content type corresponding to the associated asset type.
Properties
ContentType
The content type corresponding to the associated asset type.
public Type ContentType { get; }