Class ThreadContext
Context propagated from Thread to child components.
Inherited Members
Namespace: Unity.AppUI.Core
Assembly: Unity.AppUI.dll
Syntax
public record ThreadContext : IContext, IEquatable<ThreadContext>
Constructors
ThreadContext(bool, bool, bool, bool, IMentionProvider)
Context propagated from Thread to child components.
Declaration
public ThreadContext(bool enableReactions, bool enableLikes, bool enableDislikes, bool enableResolution, IMentionProvider mentionProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | enableReactions | Whether reactions are enabled. |
| bool | enableLikes | Whether likes/dislikes are enabled. |
| bool | enableDislikes | Whether dislikes are enabled. |
| bool | enableResolution | Whether resolution is enabled. |
| IMentionProvider | mentionProvider | The mention provider for resolving mention markup. |
Properties
enableDislikes
Whether dislikes are enabled.
Declaration
public bool enableDislikes { get; }
Property Value
| Type | Description |
|---|---|
| bool |
enableLikes
Whether likes/dislikes are enabled.
Declaration
public bool enableLikes { get; }
Property Value
| Type | Description |
|---|---|
| bool |
enableReactions
Whether reactions are enabled.
Declaration
public bool enableReactions { get; }
Property Value
| Type | Description |
|---|---|
| bool |
enableResolution
Whether resolution is enabled.
Declaration
public bool enableResolution { get; }
Property Value
| Type | Description |
|---|---|
| bool |
mentionProvider
The mention provider for resolving mention markup.
Declaration
public IMentionProvider mentionProvider { get; }
Property Value
| Type | Description |
|---|---|
| IMentionProvider |