3using System.Globalization;
6using System.Threading.Tasks;
12 internal class ContractStateToString : IValueConverter
14 public object Convert(
object? value, Type targetType,
object? parameter, CultureInfo culture)
19 return contractState
switch
35 public object ConvertBack(
object? value, Type targetType,
object? parameter, CultureInfo culture)
38 return Binding.DoNothing;
A strongly-typed resource class, for looking up localized strings, etc.
static string Signed
Looks up a localized string similar to Signed.
static string Deleted
Looks up a localized string similar to Deleted.
static string BeingSigned
Looks up a localized string similar to Being signed.
static string Proposed
Looks up a localized string similar to Proposed.
static string Failed
Looks up a localized string similar to Failed.
static string Rejected
Looks up a localized string similar to Rejected.
static string Obsoleted
Looks up a localized string similar to Obsoleted.
ContractState
Recognized contract states