C# Class NHibernate.ByteCode.Castle.LazyInitializer

Inheritance: NHibernate.Proxy.Poco.BasicLazyInitializer, global::Castle.DynamicProxy.IInterceptor
ファイルを表示 Open project: rbellamy/NHibernate.ByteCode.Castle

Public Properties

Property Type Description
_constructed bool

Public Methods

Method Description
Intercept ( IInvocation invocation ) : void

Invoke the actual Property/Method using the Proxy or instantiate the actual object and use it when the Proxy can't handle the method.

LazyInitializer ( string entityName, System persistentClass, object id, MethodInfo getIdentifierMethod, MethodInfo setIdentifierMethod, IAbstractComponentType componentIdType, ISessionImplementor session ) : System

Initializes a new LazyInitializer object.

Method Details

Intercept() public method

Invoke the actual Property/Method using the Proxy or instantiate the actual object and use it when the Proxy can't handle the method.
public Intercept ( IInvocation invocation ) : void
invocation IInvocation The from the generated Castle.DynamicProxy.
return void

LazyInitializer() public method

Initializes a new LazyInitializer object.
public LazyInitializer ( string entityName, System persistentClass, object id, MethodInfo getIdentifierMethod, MethodInfo setIdentifierMethod, IAbstractComponentType componentIdType, ISessionImplementor session ) : System
entityName string
persistentClass System The Class to Proxy.
id object The Id of the Object we are Proxying.
getIdentifierMethod System.Reflection.MethodInfo
setIdentifierMethod System.Reflection.MethodInfo
componentIdType IAbstractComponentType
session ISessionImplementor The ISession this Proxy is in.
return System

Property Details

_constructed public_oe property

public bool _constructed
return bool