Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportInfo"/> class.
 /// </summary>
 /// <param name="id">The id.</param>
 /// <param name="innerInfo">The inner info.</param>
 /// <param name="categoryId">The category id.</param>
 /// <param name="categoryName">Name of the category.</param>
 internal ReportInfo(int id, UserReportInfo innerInfo, int categoryId, string categoryName)
 {
     _id = id;
     _innerInfo = innerInfo;
     if(categoryName!=null)
         _category = new ReportCategoryInfo(categoryId, categoryName);
 }
Example #2
0
 /// <summary>
 /// Determines whether [contains] [the specified report].
 /// </summary>
 /// <param name="report">The report.</param>
 /// <returns>
 /// 	<c>true</c> if [contains] [the specified report]; otherwise, <c>false</c>.
 /// </returns>
 public virtual bool Contains(UserReportInfo report)
 {
     return this.List.Contains(report);
 }
Example #3
0
 /// <summary>
 /// Adds the specified report.
 /// </summary>
 /// <param name="report">The report.</param>
 /// <returns></returns>
 public virtual int Add(UserReportInfo report)
 {
     return this.List.Add(report);
 }
Example #4
0
 /// <summary>
 /// Removes the specified report.
 /// </summary>
 /// <param name="report">The report.</param>
 public virtual void Remove(UserReportInfo report)
 {
     this.List.Remove(report);
 }
Example #5
0
 /// <summary>
 /// Removes the specified report.
 /// </summary>
 /// <param name="report">The report.</param>
 public virtual void Remove(UserReportInfo report)
 {
     this.List.Remove(report);
 }
Example #6
0
 /// <summary>
 /// Adds the specified report.
 /// </summary>
 /// <param name="report">The report.</param>
 /// <returns></returns>
 public virtual int Add(UserReportInfo report)
 {
     return(this.List.Add(report));
 }
Example #7
0
 /// <summary>
 /// Determines whether [contains] [the specified report].
 /// </summary>
 /// <param name="report">The report.</param>
 /// <returns>
 ///     <c>true</c> if [contains] [the specified report]; otherwise, <c>false</c>.
 /// </returns>
 public virtual bool Contains(UserReportInfo report)
 {
     return(this.List.Contains(report));
 }