Show / Hide Table of Contents

Class MockTransformation

Mocks a transformation

Inheritance
object
Transformation
MockTransformation
Inherited Members
Transformation.CreateRules()
Transformation.Patterns
Transformation.IsInitialized
Transformation.IsRulesRegistered
Transformation.CreateRulesInternal()
Transformation.CreateContext()
Transformation.RegisterRules()
Transformation.Initialize()
Transformation.MaxOutputDelay
Transformation.MaxTransformationDelay
Transformation.ComputeInstantiatingTransformationRulePath(Computation)
Transformation.GetRuleForRuleType(Type)
Transformation.GetRulesForRuleType(Type)
Transformation.GetRulesForTypeSignature(Type[], Type)
Transformation.GetRulesExact(Type[], Type)
Transformation.GetRuleForTypeSignature(Type[], Type)
Transformation.GetRulesForInputTypes(params Type[])
Transformation.Rules
Transformation.GetRulesForTypeSignature(Type[], Type, bool)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Transformations.Tests
Assembly: NMF.Transformations.dll
Syntax
public class MockTransformation : Transformation
Remarks

The mocking effect comes from the fact that the mock transformation does not initialize all of its transformation rules. Instead, the transformation rules must be initialized manually by calling the RegisterDependencies method

Constructors

| Edit this page View Source

MockTransformation(params GeneralTransformationRule[])

Creates a new mock transformation with the given transformation rules

Declaration
public MockTransformation(params GeneralTransformationRule[] rules)
Parameters
Type Name Description
GeneralTransformationRule[] rules

A collection of transformation rules

| Edit this page View Source

MockTransformation(IEnumerable<GeneralTransformationRule>)

Creates a new mock transformation with the given transformation rules

Declaration
public MockTransformation(IEnumerable<GeneralTransformationRule> rules)
Parameters
Type Name Description
IEnumerable<GeneralTransformationRule> rules

A collection of transformation rules

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX