public sealed class RunicOperationCloseAttribute : Attribute Declares the RunicOperationClose of operations: on a command property for that command, or on a ViewModel class for each of its operations. A declaration on the property wins over the class's.
Parameters
closeWhat a Window's close does to the operation.
Remarks
For a CommunityToolkit [RelayCommand] method, forward it to the generated property with [property: RunicOperationClose(RunicOperationClose.Durable)]. On a member that has no operation, such as a synchronous command or a state property, it has no effect and the Bridge generator warns (RUNICBRIDGE039). The policy is .NET-side only: the generated TypeScript, contract hash and mocks do not change.
Constructors
RunicOperationCloseAttribute
public RunicOperationCloseAttribute(RunicOperationClose close) Declares the RunicOperationClose of operations: on a command property for that command, or on a ViewModel class for each of its operations. A declaration on the property wins over the class's.
Parameters
closeWhat a Window's close does to the operation.
Remarks
For a CommunityToolkit [RelayCommand] method, forward it to the generated property with [property: RunicOperationClose(RunicOperationClose.Durable)]. On a member that has no operation, such as a synchronous command or a state property, it has no effect and the Bridge generator warns (RUNICBRIDGE039). The policy is .NET-side only: the generated TypeScript, contract hash and mocks do not change.