Example #1
0
 static Task <int> Main(string[] args)
 {
     return(Deployment.RunAsync(() =>
     {
         var comp3 = new ComponentThree("comp3");
     }));
 }
Example #2
0
 static Task <int> Main(string[] args)
 {
     return(Deployment.RunAsync(() =>
     {
         // Applying an alias to the instance successfully renames both the component and the children.
         var comp3 = new ComponentThree("newcomp3", new ComponentResourceOptions
         {
             Aliases = { new Alias {
                             Name = "comp3"
                         } },
         });
     }));
 }