public static LogicToVisualDelegate create(LogicToVisualDelegateAttribute delegateAttribute)
 {
     return new LogicToVisualDelegate
         {
             Event = delegateAttribute.Event,
             CallbackNames = new HashSet<string> { delegateAttribute.CallbackName }
         };
 }
 public static LogicToVisualDelegate create(LogicToVisualDelegateAttribute delegateAttribute)
 {
     return(new LogicToVisualDelegate
     {
         Event = delegateAttribute.Event,
         CallbackNames = new HashSet <string> {
             delegateAttribute.CallbackName
         }
     });
 }