C# Class MEF.Bonjour.ServicePart

Inheritance: System.ComponentModel.Composition.Primitives.ComposablePart
显示文件 Open project: automaters/bonjour.net

Public Methods

Method Description
GetExportedObject ( System.ComponentModel.Composition.Primitives.ExportDefinition definition ) : object
ServicePart ( IService service ) : System
SetImport ( System.ComponentModel.Composition.Primitives.ImportDefinition definition, IEnumerable exports ) : void

Private Methods

Method Description
ExportDefinition ( IService service ) : IEnumerable

Method Details

GetExportedObject() public method

public GetExportedObject ( System.ComponentModel.Composition.Primitives.ExportDefinition definition ) : object
definition System.ComponentModel.Composition.Primitives.ExportDefinition
return object

ServicePart() public method

public ServicePart ( IService service ) : System
service IService
return System

SetImport() public method

public SetImport ( System.ComponentModel.Composition.Primitives.ImportDefinition definition, IEnumerable exports ) : void
definition System.ComponentModel.Composition.Primitives.ImportDefinition
exports IEnumerable
return void