Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ViewContractNavigationArgs.cs
3using System.Threading.Tasks;
5
7{
15 public class ViewContractNavigationArgs(Contract? Contract, bool IsReadOnly, string? Role, string? Proposal, string? FromJID = null, TaskCompletionSource<Contract?>? PostCreateCompletion = null, ContractReference? ContractRef = null) : NavigationArgs
16 {
20 public ViewContractNavigationArgs()
21 : this(null, false, null, null, null, null, null)
22 {
23 }
24
30 public ViewContractNavigationArgs(Contract? Contract, bool IsReadOnly)
31 : this(Contract, IsReadOnly, null, string.Empty)
32 {
33 }
34
39 public ViewContractNavigationArgs(ContractReference? ContractRef, bool IsReadOnly)
40 : this(null, IsReadOnly, null, string.Empty, null, null, ContractRef)
41 {
42 }
43
47 public ContractReference? ContractRef { get; } = ContractRef;
48
52 public Contract? Contract { get; } = Contract;
53
57 public bool IsReadOnly { get; } = IsReadOnly;
58
62 public string? Role { get; } = Role;
63
67 public string? Proposal { get; } = Proposal;
68
72 public string? FromJID { get; } = FromJID;
73
78 public TaskCompletionSource<Contract?>? PostCreateCompletion { get; } = PostCreateCompletion;
79 }
80}
Contains a local reference to a contract that the user has created or signed.
An base class holding page specific navigation parameters.
Contains the definition of a contract
Definition: Contract.cs:22
Class defining a role
Definition: Role.cs:7