5 namespace SiliconStudio.Assets
10 [AttributeUsage(AttributeTargets.Class)]
13 private readonly
string typeName;
19 public string FactoryTypeName
21 get {
return this.typeName; }
30 this.typeName = type != null ? type.AssemblyQualifiedName : null;
39 this.typeName = typeName != null ? typeName.ToUpperInvariant() : null;
Attribute to define for a IAssetFactory for a Asset.
AssetFactoryAttribute(Type type)
Initializes a new instance of the SiliconStudio.Assets.AssetFactoryAttribute class.
AssetFactoryAttribute(string typeName)
Initializes a new instance of the SiliconStudio.Assets.AssetFactoryAttribute class.