C# Class Rebel.Tests.Extensions.FakeFrameworkContext

An implementation of IFrameworkContext used for unit testing
Inheritance: DisposableObject, IFrameworkContext
Mostra file Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
FakeFrameworkContext ( ISerializer serializer = null ) : System

Initializes a new instance of the T:System.Object class.

FakeFrameworkContext ( MappingEngineCollection typeMappers ) : System
SetTypeMappers ( MappingEngineCollection coll ) : void

Protected Methods

Method Description
DisposeResources ( ) : void

Handles the disposal of resources. Derived from abstract class DisposableObject which handles common required locking logic.

Method Details

DisposeResources() protected method

Handles the disposal of resources. Derived from abstract class DisposableObject which handles common required locking logic.
protected DisposeResources ( ) : void
return void

FakeFrameworkContext() public method

Initializes a new instance of the T:System.Object class.
public FakeFrameworkContext ( ISerializer serializer = null ) : System
serializer ISerializer
return System

FakeFrameworkContext() public method

public FakeFrameworkContext ( MappingEngineCollection typeMappers ) : System
typeMappers MappingEngineCollection
return System

SetTypeMappers() public method

public SetTypeMappers ( MappingEngineCollection coll ) : void
coll MappingEngineCollection
return void