C# 클래스 Guidelines.Ioc.StructureMap.Adaptors.StructureMapServiceContainer

Container that will use MSServiceLocator to get types. Does not implement changing the registry.
상속: IServiceContainer
파일 보기 프로젝트 열기: basicdays/Guidelines

공개 메소드들

메소드 설명
AddService ( Type serviceType, ServiceCreatorCallback callback ) : void

Not implemented.

AddService ( Type serviceType, ServiceCreatorCallback callback, bool promote ) : void

Adds a delegate to a service type.

AddService ( Type serviceType, object serviceInstance ) : void

Not implemented.

AddService ( Type serviceType, object serviceInstance, bool promote ) : void

Not implemented.

GetService ( Type serviceType ) : object

Gets serviceType from MSServiceLocator.

RemoveService ( Type serviceType ) : void

Removes the service from the container, but Structuremap does not support this.

RemoveService ( Type serviceType, bool promote ) : void

Removes the service from the container, but Structuremap does not support this.

StructureMapServiceContainer ( IContainer container ) : System

메소드 상세

AddService() 공개 메소드

Not implemented.
public AddService ( Type serviceType, ServiceCreatorCallback callback ) : void
serviceType System.Type
callback ServiceCreatorCallback
리턴 void

AddService() 공개 메소드

Adds a delegate to a service type.
public AddService ( Type serviceType, ServiceCreatorCallback callback, bool promote ) : void
serviceType System.Type
callback ServiceCreatorCallback
promote bool
리턴 void

AddService() 공개 메소드

Not implemented.
public AddService ( Type serviceType, object serviceInstance ) : void
serviceType System.Type
serviceInstance object
리턴 void

AddService() 공개 메소드

Not implemented.
public AddService ( Type serviceType, object serviceInstance, bool promote ) : void
serviceType System.Type
serviceInstance object
promote bool
리턴 void

GetService() 공개 메소드

Gets serviceType from MSServiceLocator.
public GetService ( Type serviceType ) : object
serviceType System.Type The type to retrieve from the standard service locator.
리턴 object

RemoveService() 공개 메소드

Removes the service from the container, but Structuremap does not support this.
Every time this is called.
public RemoveService ( Type serviceType ) : void
serviceType System.Type Service type to remove from the container.
리턴 void

RemoveService() 공개 메소드

Removes the service from the container, but Structuremap does not support this.
Every time this is called.
public RemoveService ( Type serviceType, bool promote ) : void
serviceType System.Type Service type to remove from the container.
promote bool Not used
리턴 void

StructureMapServiceContainer() 공개 메소드

public StructureMapServiceContainer ( IContainer container ) : System
container IContainer
리턴 System