Skip to content

Microsoft.Orleans.TestingHost

10.0.0 · net10.0

Orleans.Hosting

Orleans.TestingHost

FaultInjectionGrainStorage

class
Fault injection decorator for storage providers. This allows users to inject storage exceptions to test error handling scenarios.

IClientBuilderConfigurator

interface
Allows implementations to configure the client builder when starting up each silo in the test cluster.

IHostConfigurator

interface
Allows implementations to configure the host builder when starting up each silo in the test cluster.

InProcessSiloHandle

class
Represents a handle to a silo that is deployed in the same process and AppDomain.

ISiloConfigurator

interface
Allows implementations to configure the silo builder when starting up each silo in the test cluster.

SiloHandle

class
Represents a handle to a silo that is remotely deployed

TestCluster

class
A host class for local testing with Orleans using in-process silos. Runs a Primary and optionally secondary silos in separate app domains, and client in the main app domain. Additional silos can also be started in-process on demand if required for particular test cases.

Orleans.TestingHost.Diagnostics

DiagnosticEvent

struct
Represents a captured diagnostic event with its name and payload.

DiagnosticEventCollector

class
A test utility for collecting and waiting on diagnostic events. Subscribes to System.Diagnostics.DiagnosticListener.AllListeners and captures events from listeners matching specified patterns.

Orleans.TestingHost.Logging

FileLogger

class
File logger, which logs messages to a file.

FileLoggerProvider

class
Microsoft.Extensions.Logging.ILoggerProvider which outputs to a log file.

InMemoryLogBuffer

class
The in-memory log buffer which all InMemoryLogger instances share. Useful for simulation testing where logs need to be captured and inspected.

InMemoryLogger

class
A logger that writes to an in-memory buffer via the InMemoryLogBuffer.

InMemoryLoggerProvider

class
A logger provider that buffers log messages in-memory for later retrieval. Useful for tests where logs need to be attached to test results conditionally.

LogEntry

struct
Represents a single log entry with its associated metadata.

Orleans.TestingHost.UnixSocketTransport

UnixSocketConnectionExtensions

class
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

UnixSocketConnectionOptions

class
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

Orleans.TestingHost.Utils

OrleansCodeGen.Orleans.TestingHost

Codec_RandomlyInjectedInconsistentStateException

class
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

Codec_RandomlyInjectedStorageException

class
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.