# SiloLifecycleSubject

Package: [Microsoft.Orleans.Runtime](/orleans/docs/api/csharp/microsoft.orleans.runtime/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Runtime) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/Lifecycle/SiloLifecycleSubject.cs#L15)

```csharp
public class SiloLifecycleSubject : LifecycleSubject, ILifecycleObservable, ILifecycleObserver, ISiloLifecycle, ISiloLifecycleSubject
```

Decorator over lifecycle subject for silo. Adds some logging and monitoring

## Constructors

- [SiloLifecycleSubject(ILogger&lt;SiloLifecycleSubject&gt;)](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.silolifecyclesubject/constructors/constructor-microsoft-extensions-logging-ilogger-orleans-runtime-silolifecyclesu-5e8c82a1/)
- [SiloLifecycleSubject(ILogger&lt;SiloLifecycleSubject&gt;, ILocalSiloDetails?)](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.silolifecyclesubject/constructors/constructor-microsoft-extensions-logging-ilogger-orleans-runtime-silolifecyclesu-15b14275/)

## Properties

- [HighestCompletedStage](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.silolifecyclesubject/properties/highestcompletedstage-2fae26ed/)
- [LowestStoppedStage](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.silolifecyclesubject/properties/loweststoppedstage-27cf2223/)

## Methods

- [OnStart(CancellationToken)](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.silolifecyclesubject/methods/onstart-system-threading-cancellationtoken-900a3543/)
- [Subscribe(string, int, ILifecycleObserver)](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.silolifecyclesubject/methods/subscribe-string-int-orleans-ilifecycleobserver-647c8beb/)
