C# 클래스 Spring.Web.Support.SupportsWebDependencyInjectionTypeBuilder

This TypeBuilder dynamically implements the ISupportsWebDependencyInjection contract on a given type.
상속: Spring.Proxy.InheritanceProxyTypeBuilder
파일 보기 프로젝트 열기: spring-projects/spring-net 1 사용 예제들

공개 메소드들

메소드 설명
BuildProxyType ( ) : Type

Creates a proxy that inherits the proxied object's class.

IsSpringAwareControlProxy ( Type type ) : bool

Determines if the specified type is one of those generated by this builder.

SupportsWebDependencyInjectionTypeBuilder ( Type targetType, MethodInfo methodsToIntercept, MethodInfo staticCallbackMethod ) : System

Creates a new TypeBuilder instance.

비공개 메소드들

메소드 설명
DeclareApplicationContextInstanceField ( TypeBuilder builder ) : FieldBuilder

Declares field that holds the ISupportsWebDependencyInjection.DefaultApplicationContext.

ImplementIDependencyInjectionAware ( TypeBuilder typeBuilder, Type targetType, FieldInfo appContextField ) : void

Actually implements the ISupportsWebDependencyInjection interface.

메소드 상세

BuildProxyType() 공개 메소드

Creates a proxy that inherits the proxied object's class.
public BuildProxyType ( ) : Type
리턴 System.Type

IsSpringAwareControlProxy() 공개 정적인 메소드

Determines if the specified type is one of those generated by this builder.
public static IsSpringAwareControlProxy ( Type type ) : bool
type System.Type The type to check.
리턴 bool

SupportsWebDependencyInjectionTypeBuilder() 공개 메소드

Creates a new TypeBuilder instance.
public SupportsWebDependencyInjectionTypeBuilder ( Type targetType, MethodInfo methodsToIntercept, MethodInfo staticCallbackMethod ) : System
targetType Type The base type the proxy shall be derived from
methodsToIntercept MethodInfo The methods to be injected with a call to staticCallbackMethod
staticCallbackMethod MethodInfo The static callback method to be injected into methodsToIntercept
리턴 System