Class InstanceModel
Class InstanceModel represents a type and how to create that type's instance. Implements the InstanceModel
Inherited Members
Namespace: FastMoq.Models
Assembly: FastMoq.Core.dll
Syntax
[ExcludeFromCodeCoverage]
public class InstanceModel : IInstanceModel, IHistoryModel
Properties
Arguments
Gets the arguments.
Declaration
public List<object?> Arguments { get; }
Property Value
| Type | Description |
|---|---|
| List<object> | The arguments. |
CreateFunc
Gets the create function.
Declaration
public InstanceFunction? CreateFunc { get; }
Property Value
| Type | Description |
|---|---|
| InstanceFunction | The create function. |
InstanceType
Gets the type of the instance.
Declaration
public virtual Type InstanceType { get; }
Property Value
| Type | Description |
|---|---|
| Type | The type of the instance. |
Type
Gets the type.
Declaration
public virtual Type Type { get; }
Property Value
| Type | Description |
|---|---|
| Type | The type. |