merged 3 actions into one.
added option to create C# attribute