Esempio n. 1
0
 public void Commit()
 {
     if (!this.ProcessAsyncCommand())
     {
         return;
     }
     this.ProxyValue = this.SetMethodName(EventHandlerModel.TrimName(this.proxyValue));
 }
Esempio n. 2
0
        public void GenerateAndCommit()
        {
            if (!this.ProcessAsyncCommand())
            {
                return;
            }
            string newName = EventHandlerModel.TrimName(this.proxyValue);

            if (string.IsNullOrEmpty(newName))
            {
                newName = this.GenerateMethodName();
            }
            this.ProxyValue = this.SetMethodName(newName);
        }