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

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

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

Equals() public méthode

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 .
Résultat bool

GetHashCode() public méthode

Serves as a hash function for a particular ExportDefinition.
public GetHashCode ( ) : int
Résultat int