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["CoffeeClientMock"]-->Type click Derived0 "/api/Rocket.Surgery.Airframe.Synthetic/CoffeeClientMock" Derived1["DrinkClientMock"]-->Type click Derived1 "/api/Rocket.Surgery.Airframe.Synthetic/DrinkClientMock"

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