MockResolver ClassDelta Engine Documentation
Special resolver for unit tests to mocks all the integration classes (Window, Device, etc.) View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Platforms Resolver
    DeltaEngine.Platforms ApproveFirstFrameScreenshot
      DeltaEngine.Platforms AppRunner
        DeltaEngine.Platforms.Mocks MockResolver

Namespace: DeltaEngine.Platforms.Mocks
Assembly: DeltaEngine.Platforms.Mocks (in DeltaEngine.Platforms.Mocks.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public class MockResolver : AppRunner

The MockResolver type exposes the following members.

Constructors

  NameDescription
Public methodMockResolver
Initializes a new instance of the MockResolver class
Top
Methods

  NameDescription
Public methodDispose
Releases all resources used by the MockResolver
(Overrides AppRunner Dispose .)
Protected methodExecuteTestCodeAndMakeScreenshotAfterFirstFrame (Inherited from ApproveFirstFrameScreenshot.)
Public methodOnContentReceived (Inherited from AppRunner.)
Public methodRegister(Type) (Inherited from Resolver.)
Public methodRegister T   (Inherited from Resolver.)
Protected methodRegisterCommonEngineSingletons (Inherited from AppRunner.)
Protected methodRegisterInstance
Registers an already created instance and overwrite all base classes and interfaces. For example if registering WpfHostedFormsWindow will force all Resolve Window calls to use it. View code on GitHub
(Inherited from Resolver.)
Protected methodRegisterMediaTypes (Overrides AppRunner RegisterMediaTypes .)
Public methodRegisterMock T 
Protected methodRegisterPhysics (Overrides AppRunner RegisterPhysics .)
Public methodRegisterSingleton(Type) (Inherited from Resolver.)
Public methodRegisterSingleton T   (Inherited from Resolver.)
Public methodResolve BaseType  (Overrides Resolver Resolve BaseType  .)
Public methodRun (Inherited from AppRunner.)
Top
Fields

  NameDescription
Protected fieldalreadyRegisteredTypes (Inherited from Resolver.)
Public fieldCodeAfterFirstFrame (Inherited from ApproveFirstFrameScreenshot.)
Protected fieldentities (Inherited from AppRunner.)
Protected fieldinstancesToDispose (Inherited from AppRunner.)
Protected fieldsettings (Inherited from AppRunner.)
Top
Properties

  NameDescription
Protected propertyIsAlreadyInitialized (Inherited from Resolver.)
Public propertyIsInitialized
Public propertyWindow
Top
Events

  NameDescription
Protected eventContentIsReady (Inherited from AppRunner.)
Top
See Also