private void ConvertThroughProto(CreateCommand source)
        {
            Com.Daml.Ledger.Api.V1.CreateCommand protoValue = source.ToProto();
            var target = CreateCommand.FromProto(protoValue);

            Assert.True(source == target);
        }
Esempio n. 2
0
 public static CreateCommand FromProto(Com.Daml.Ledger.Api.V1.CreateCommand create) => new CreateCommand(Identifier.FromProto(create.TemplateId), Record.FromProto(create.CreateArguments));