Class ServicePlugInAttributeBase
Convenience base class for attributes configuring plugin services.
Inheritance
System.Object
    ServicePlugInAttributeBase
      
      
      
      
  Implements
Namespace: EPiServer.ServiceLocation
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public abstract class ServicePlugInAttributeBase : Attribute, IServiceConfigurationConstructors
ServicePlugInAttributeBase(Type)
Creates a new instance of ServicePlugInAttributeBase
Declaration
protected ServicePlugInAttributeBase(Type serviceType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Type | serviceType | The service type the attribute instance is for | 
Properties
FactoryMember
Gets the name of a static property or method on the attributed class from which the service instance is retrieved.
Declaration
public virtual string FactoryMember { get; }Property Value
| Type | Description | 
|---|---|
| System.String | 
FactoryType
Gets the name of a type that is responsible for creating instances of the attributed service.
Declaration
public virtual Type FactoryType { get; }Property Value
| Type | Description | 
|---|---|
| System.Type | 
Lifecycle
Gets the scope of instances of the attributed class, i.e. when to reuse instances of the same service.
Declaration
public virtual ServiceInstanceScope Lifecycle { get; }Property Value
| Type | Description | 
|---|---|
| ServiceInstanceScope | 
ServiceType
Gets the type of service the decorated class represents. If null the class is registered with it's own type as service type.
Declaration
public Type ServiceType { get; }Property Value
| Type | Description | 
|---|---|
| System.Type | 
