Language

ConfidentialLedgerModelFactory.LedgerConstitution(String, String) Method

Definition

The governance script for the application.

public static Azure.Security.ConfidentialLedger.Models.LedgerConstitution LedgerConstitution(string digest = default, string script = default);
static member LedgerConstitution : string * string -> Azure.Security.ConfidentialLedger.Models.LedgerConstitution
Public Shared Function LedgerConstitution (Optional digest As String = Nothing, Optional script As String = Nothing) As LedgerConstitution

Parameters

digest
String

SHA256 digest of the constitution script.

script
String

Contents of the constitution.

Returns

A new LedgerConstitution instance for mocking.

Applies to