static Task <int> Main(string[] args) { return(Deployment.RunAsync(() => { var comp3 = new ComponentThree("comp3"); })); }
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" } }, }); })); }