Class ActivationTypeAttribute
- Namespace
- WindowSill.API
- Assembly
- WindowSill.API.dll
Defines an activator type name attached to a ISillActivator
[MetadataAttribute]
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class ActivationTypeAttribute : Attribute
- Inheritance
-
ActivationTypeAttribute
- Inherited Members
- Extension Methods
Constructors
ActivationTypeAttribute(string, string?)
Initializes a new instance of the ActivationTypeAttribute class.
public ActivationTypeAttribute(string name, string? baseName = null)
Parameters
namestringThe name of the activator.
baseNamestringThe name of the activator on which the current ISillActivator takes dependency.
Properties
TypeBaseName
Gets the name of the base activator type on which the current ISillActivator takes dependency.
public string? TypeBaseName { get; }
Property Value
TypeName
Gets the name of the activator type.
public string TypeName { get; }