RunicCommandResultAttribute class

Namespace Runic.Application.Views in Runic.Application.Views 0.23.0

public sealed class RunicCommandResultAttribute : Attribute

Inherits or implements Attribute.

Opts a generated command contract into a non-default result cardinality. ReactiveUI commands with RxVoid have no result and do not need this attribute.

Constructors

RunicCommandResultAttribute

public RunicCommandResultAttribute(RunicCommandResultCardinality cardinality)

Opts a generated command contract into a non-default result cardinality. ReactiveUI commands with RxVoid have no result and do not need this attribute.

Properties

Cardinality

public RunicCommandResultCardinality Cardinality { get; }

How the command's observable results are retained.