This is a migrated thread and some comments may be shown as answers.

Remove\Promote Child

1 Answer 13 Views
Refactorings
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 30 Jul 2012, 12:58 PM
You know in XML\HTML mode we can remove a node and promote its child?

Can the same be done with C# for like an IF block?

if(...){
   //My Code
}

Is there some way to remove the if() and braces?...if not, could there be? :)

1 Answer, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 02 Aug 2012, 02:25 PM
Hello Steve,

 I regret to say that we do not have plans to implement such a feature so far.
But I am sure that you can manage to do this with an extension. That is why, I will point you to this address, where we have some info about JustCode's extensions and our example templates.
Thanks.

Kind regards,
Zdravko
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Refactorings
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Zdravko
Telerik team
Share this question
or