Class PropsExtensions
Extension methods for integrating PhobosDeploy into the fluent builder interface normally used with Props
Inherited Members
Namespace: Phobos.Actor
Assembly: Phobos.Actor.dll
Syntax
public static class PropsExtensions
Methods
WithInstrumentation(Deploy, PhobosActorSettings)
Adds instrumentation to an existing Deploy instance.
Declaration
public static PhobosDeploy WithInstrumentation(this Deploy deploy, PhobosActorSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| Deploy | deploy | The original deployment configuration. |
| PhobosActorSettings | settings | The Phobos instrumentation settings. |
Returns
| Type | Description |
|---|---|
| PhobosDeploy | A PhobosDeploy configuration object. |
WithInstrumentation(Props, ActorSystem, Func<PhobosActorSettings, PhobosActorSettings>)
Adds instrumentation configuration to the Props instance.
Declaration
public static Props WithInstrumentation(this Props props, ActorSystem system, Func<PhobosActorSettings, PhobosActorSettings> configurator)
Parameters
| Type | Name | Description |
|---|---|---|
| Props | props | |
| ActorSystem | system | The current ActorSystem |
| Func<PhobosActorSettings, PhobosActorSettings> | configurator | A configuration delegate. |
Returns
| Type | Description |
|---|---|
| Props | An updated Props instance that uses PhobosDeploy internally. |
WithInstrumentation(Props, PhobosActorSettings)
Adds instrumentation configuration to the Props instance.
Declaration
public static Props WithInstrumentation(this Props props, PhobosActorSettings instrumentationSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| Props | props | |
| PhobosActorSettings | instrumentationSettings | Configuration details. |
Returns
| Type | Description |
|---|---|
| Props | An updated Props instance that uses PhobosDeploy internally. |