Exemplo n.º 1
0
            public DeserializeComponentResourceStack()
            {
                var res = new MyComponentResource("test", null, null);

                var urn = res.Urn.DataTask.Result.Value;

                var v = DeserializeValue <MyComponentResource>(CreateComponentResourceReference(urn));

                this.Values = Output.Create(new Dictionary <string, string> {
                    { "expectedUrn", urn },
                    { "actualUrn", v.Urn.DataTask.Result.Value },
                }.ToImmutableDictionary());
            }
Exemplo n.º 2
0
 public MyStack()
 {
     var customResource    = new MyCustomResource("test", null, null);
     var componentResource = new MyComponentResource("test", null, null);
 }