/// <summary> /// Create a new Regex object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="moduleID">Initial value of the ModuleID property.</param> /// <param name="regexPattern">Initial value of the RegexPattern property.</param> /// <param name="matchType">Initial value of the MatchType property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="modified">Initial value of the Modified property.</param> public static Regex CreateRegex(global::System.Int32 id, global::System.Int32 moduleID, global::System.String regexPattern, global::System.String matchType, global::System.DateTime created, global::System.DateTime modified) { Regex regex = new Regex(); regex.ID = id; regex.ModuleID = moduleID; regex.RegexPattern = regexPattern; regex.MatchType = matchType; regex.Created = created; regex.Modified = modified; return regex; }
/// <summary> /// Deprecated Method for adding a new object to the Regexes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRegexes(Regex regex) { base.AddObject("Regexes", regex); }
public RSSRegex(Regex regex) { Regex = regex; }