# ILogViewAdaptorHost&lt;TLogView, TLogEntry&gt; Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.ilogviewadaptorhost-2/)

## OnViewChanged(bool, bool) {#onviewchanged-bool-bool-ac783798}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.ilogviewadaptorhost-2/methods/onviewchanged-bool-bool-ac783798/)

```csharp
public abstract void ILogViewAdaptorHost<TLogView, OnViewChanged(bool tentative, bool confirmed)
```

Notifies the host grain about state changes. Called by `Orleans.EventSourcing.ILogViewAdaptor-2` whenever the tentative or confirmed state changes. Implementations may vary as to whether and how much they batch change notifications. Any exceptions thrown will be caught and logged as a warning./&gt;.

### Parameters

- `tentative` (`bool`)
- `confirmed` (`bool`)

## UpdateView(TLogView, TLogEntry) {#updateview-tlogview-tlogentry-efddb8cb}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.ilogviewadaptorhost-2/methods/updateview-tlogview-tlogentry-efddb8cb/)

```csharp
public abstract void ILogViewAdaptorHost<TLogView, UpdateView(TLogView view, TLogEntry entry)
```

Implementation of view transitions. Any exceptions thrown will be caught and logged as a warning./&gt;.

### Parameters

- `view` (`TLogView`)
- `entry` (`TLogEntry`)
