コード例 #1
0
 public RegexResult Save(PatternInfo patternInfo)
 {
     object[] results = this.Invoke("Save", new object[] {
         patternInfo
     });
     return((RegexResult)(results[0]));
 }
コード例 #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;
        }
コード例 #3
0
 public RegexResult Save(PatternInfo patternInfo)
 {
     object[] results = this.Invoke("Save", new object[] {
                 patternInfo});
     return ((RegexResult)(results[0]));
 }
コード例 #4
0
 /// <remarks/>
 public System.IAsyncResult BeginSave(PatternInfo patternInfo, System.AsyncCallback callback, object asyncState)
 {
     return(this.BeginInvoke("Save", new object[] {
         patternInfo
     }, callback, asyncState));
 }
コード例 #5
0
 /// <remarks/>
 public System.IAsyncResult BeginSave(PatternInfo patternInfo, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("Save", new object[] {
                 patternInfo}, callback, asyncState);
 }