ClientMock<T> Class

Assembly
Rocket.Surgery.Airframe.Synthetic.dll
Namespace
Rocket.Surgery.Airframe.Synthetic
Interfaces
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type-.->Interface0["IClient"] click Interface0 "/api/Data/IClient" Type-.->Interface1["IDisposable"] Type["ClientMock<T>"] class Type type-node Derived0["DrinkClientMock"]-->Type click Derived0 "/api/Rocket.Surgery.Airframe.Synthetic/DrinkClientMock" Derived1["CoffeeClientMock"]-->Type click Derived1 "/api/Rocket.Surgery.Airframe.Synthetic/CoffeeClientMock"

Syntax

public abstract class ClientMock<T> : IClient, IDisposable where T : Dto

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Type Parameters

Name Description
T

Constructors

Name Summary
ClientMock()

Properties

Name Value Summary
Items List<T>

Methods

Name Value Summary
Delete<T>(Guid) Task
Delete<T>(T) Task
Dispose() void
Dispose(bool) void
Get<T>(Guid) Task<T>
GetAll<T>() Task<IEnumerable<T>>
Post<T>(T) Task<T>

Extension Methods