C# Class Revenj.Extensibility.Autofac.Integration.Mef.ContractBasedService

Identifies a service by the MEF contract name it supports.
Inheritance: Revenj.Extensibility.Autofac.Core.Service
Mostrar archivo Open project: ngs-doo/revenj Class Usage Examples

Public Methods

Method Description
ContractBasedService ( string contractName, string exportTypeIdentity ) : System

Initializes a new instance of the ContractBasedService class.

Equals ( object obj ) : bool

Determines whether the specified T:System.Object is equal to the current T:System.Object.

GetHashCode ( ) : int

Serves as a hash function for a particular ExportDefinition.

Method Details

ContractBasedService() public method

Initializes a new instance of the ContractBasedService class.
public ContractBasedService ( string contractName, string exportTypeIdentity ) : System
contractName string The contract name.
exportTypeIdentity string Type identity of the objects exported under the contract.
return System

Equals() public method

Determines whether the specified T:System.Object is equal to the current T:System.Object.
The parameter is null.
public Equals ( object obj ) : bool
obj object The to compare with the current .
return bool

GetHashCode() public method

Serves as a hash function for a particular ExportDefinition.
public GetHashCode ( ) : int
return int