Click or drag to resize

ContractBasedService Class

Identifies a service by the MEF contract name it supports.
Inheritance Hierarchy
SystemObject
  Autofac.CoreService
    Autofac.Integration.MefContractBasedService

Namespace:  Autofac.Integration.Mef
Assembly:  Autofac.Integration.Mef (in Autofac.Integration.Mef.dll) Version: 6.0.0+4280ac7e7f34f8dcbf61bbdf820a070216e453fc
Syntax
public class ContractBasedService : Service

The ContractBasedService type exposes the following members.

Constructors
  NameDescription
Public methodContractBasedService
Initializes a new instance of the ContractBasedService class.
Top
Properties
  NameDescription
Public propertyContractName
Gets the name of the contract.
Public propertyDescription
Gets a human-readable description of the service.
(Overrides ServiceDescription.)
Public propertyExportTypeIdentity
Gets the type identity of the objects exported under the contract.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Overrides ServiceEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular ExportDefinition.
(Overrides ServiceGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Service.)
Top
See Also