# IPopulator&lt;TValue, TSurrogate&gt; Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.ipopulator-2/)

## Populate(TSurrogate, TValue) {#populate-in-tsurrogate-tvalue-54240314}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.ipopulator-2/methods/populate-in-tsurrogate-tvalue-54240314/)

```csharp
public abstract void IPopulator<TValue, Populate(in TSurrogate surrogate, TValue value)
```

Populates `value` with values from `surrogate`.

### Parameters

- `surrogate` (`TSurrogate`): The surrogate.
- `value` (`TValue`): The value.
