# Codec_NotAllowedAttributionGrain

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 sealed class Codec_NotAllowedAttributionGrain : IFieldCodec, IFieldCodec<NotAllowedAttributionGrain>, IBaseCodec, IBaseCodec<NotAllowedAttributionGrain>
```

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

## Constructors

- [Codec_NotAllowedAttributionGrain(IActivator&lt;NotAllowedAttributionGrain&gt;, ICodecProvider)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.transactionattributiongrainextensions.codec-notallowedattributiongrain/constructors/constructor-orleans-serialization-activators-iactivator-orleans-transactions-tes-d1b2c2d7/)

## Methods

- [Deserialize(Reader&lt;TReaderInput&gt;, NotAllowedAttributionGrain)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.transactionattributiongrainextensions.codec-notallowedattributiongrain/methods/deserialize-1-ref-orleans-serialization-buffers-reader-treaderinput-orleans-tran-d9883787/)
- [ReadValue(Reader&lt;TReaderInput&gt;, Field)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.transactionattributiongrainextensions.codec-notallowedattributiongrain/methods/readvalue-1-ref-orleans-serialization-buffers-reader-treaderinput-orleans-serial-132dc8bc/)
- [Serialize(Writer&lt;TBufferWriter&gt;, NotAllowedAttributionGrain)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.transactionattributiongrainextensions.codec-notallowedattributiongrain/methods/serialize-1-ref-orleans-serialization-buffers-writer-tbufferwriter-orleans-trans-791d15a0/)
- [WriteField(Writer&lt;TBufferWriter&gt;, uint, Type, NotAllowedAttributionGrain)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.transactionattributiongrainextensions.codec-notallowedattributiongrain/methods/writefield-1-ref-orleans-serialization-buffers-writer-tbufferwriter-uint-system-407db5c2/)
