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

            Assert.IsTrue(source == target);
        }
Exemple #2
0
 public static CreateCommand FromProto(Com.DigitalAsset.Ledger.Api.V1.CreateCommand create) => new CreateCommand(Identifier.FromProto(create.TemplateId), Record.FromProto(create.CreateArguments));