C# Class N2.Persistence.Proxying.InterceptingProxyFactory

Inheritance: N2.Persistence.Proxying.EmptyProxyFactory
Show file Open project: Earthware/n2cms Class Usage Examples

Public Methods

Method Description
Create ( string typeName, object id ) : object
Initialize ( IEnumerable interceptedTypes ) : void
OnSaving ( object instance ) : bool

Private Methods

Method Description
ApplyToDetailsOnUnproxiedInstance ( object instance ) : bool
GetInterceptableProperties ( Type type ) : IEnumerable
GetSaveSetters ( IEnumerable interceptableProperties ) : bool>>.IEnumerable

Method Details

Create() public method

public Create ( string typeName, object id ) : object
typeName string
id object
return object

Initialize() public method

public Initialize ( IEnumerable interceptedTypes ) : void
interceptedTypes IEnumerable
return void

OnSaving() public method

public OnSaving ( object instance ) : bool
instance object
return bool