public RegexResult Save(PatternInfo patternInfo)
 {
     object[] results = this.Invoke("Save", new object[] {
         patternInfo
     });
     return((RegexResult)(results[0]));
 }
Example #2
0
        private RegexLib.Services.PatternInfo GetExpressionInfoFromForm()
        {
            RegexLib.Services.PatternInfo pinfo= new RegexLib.Services.PatternInfo();

            pinfo.RegularExpression= txtRegex.Text;
            pinfo.ProviderId=3;
            pinfo.Description= txtDescription.Text;
            pinfo.Matches= GetStringArrayFromList(lstMatches);
            pinfo.NotMatches= GetStringArrayFromList(lstNonMatches);
            pinfo.Source= txtSource.Text;

            m_RegexlibInfo.Email=txtEmail.Text;
            m_RegexlibInfo.FirstName= txtFirstName.Text;
            m_RegexlibInfo.Surname= txtLastName.Text;

            pinfo.UserInfo= m_RegexlibInfo;

            return pinfo;
        }
 public RegexResult Save(PatternInfo patternInfo)
 {
     object[] results = this.Invoke("Save", new object[] {
                 patternInfo});
     return ((RegexResult)(results[0]));
 }
 /// <remarks/>
 public System.IAsyncResult BeginSave(PatternInfo patternInfo, System.AsyncCallback callback, object asyncState)
 {
     return(this.BeginInvoke("Save", new object[] {
         patternInfo
     }, callback, asyncState));
 }
 /// <remarks/>
 public System.IAsyncResult BeginSave(PatternInfo patternInfo, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("Save", new object[] {
                 patternInfo}, callback, asyncState);
 }