# IExclusiveLockCoordinatorGrain

Package: [Microsoft.Orleans.Transactions.TestKit.Base](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Transactions.TestKit.Base)

```csharp
public interface IExclusiveLockCoordinatorGrain : IGrain, IGrainWithGuidKey, IAddressable
```

## Methods

- [ReadThenWrite(ITransactionTestGrain, int)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.iexclusivelockcoordinatorgrain/methods/readthenwrite-orleans-transactions-testkit-itransactiontestgrain-int-3481ed6e/)
- [ReadThenWriteWithExclusiveLock(IExclusiveLockTransactionTestGrain, int)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.iexclusivelockcoordinatorgrain/methods/readthenwritewithexclusivelock-orleans-transactions-testkit-iexclusivelocktransa-af4aaeaa/)
