Table of Contents

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

name string

The name of the activator.

baseName string

The 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

string

TypeName

Gets the name of the activator type.

public string TypeName { get; }

Property Value

string