Show / Hide Table of Contents

Class Mock<T>

Helper class for creating Mocks of a given vanilla Component.
Inheritance
System.Object
Mock<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Jotunn.Entities
Assembly: Jotunn.dll
Syntax
public static class Mock<T>

    where T : Component
Type Parameters
Name Description
T Type of the mocked

Methods

| Improve this Doc View Source

Create(String)

Create a new Mock of type T : Component
Declaration
public static T Create(string name)
Parameters
Type Name Description
System.String name Name of the original component
Returns
Type Description
T Mocked
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾