Fixed help files.
This commit is contained in:
commit
b8f912cc79
1543 changed files with 395123 additions and 0 deletions
126
PluginFramework/RecentChange.cs
Normal file
126
PluginFramework/RecentChange.cs
Normal file
|
@ -0,0 +1,126 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace ScrewTurn.Wiki.PluginFramework {
|
||||
|
||||
/// <summary>
|
||||
/// Represents a Change.
|
||||
/// </summary>
|
||||
public class RecentChange {
|
||||
|
||||
private string page;
|
||||
private string title;
|
||||
private string messageSubject = null;
|
||||
private DateTime dateTime;
|
||||
private string user;
|
||||
private Change change;
|
||||
private string descr = null;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="T:RecentChange" /> class.
|
||||
/// </summary>
|
||||
/// <param name="page">The page pame.</param>
|
||||
/// <param name="title">The page title.</param>
|
||||
/// <param name="messageSubject">The message subject (or <c>null</c>).</param>
|
||||
/// <param name="dateTime">The date/time.</param>
|
||||
/// <param name="user">The user.</param>
|
||||
/// <param name="change">The change.</param>
|
||||
/// <param name="descr">The description (optional).</param>
|
||||
public RecentChange(string page, string title, string messageSubject, DateTime dateTime, string user, Change change, string descr) {
|
||||
this.page = page;
|
||||
this.title = title;
|
||||
this.messageSubject = messageSubject;
|
||||
this.dateTime = dateTime;
|
||||
this.user = user;
|
||||
this.change = change;
|
||||
this.descr = descr;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the page name.
|
||||
/// </summary>
|
||||
public string Page {
|
||||
get { return page; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the page title.
|
||||
/// </summary>
|
||||
public string Title {
|
||||
get { return title; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the message subject (or <c>null</c>).
|
||||
/// </summary>
|
||||
public string MessageSubject {
|
||||
get { return messageSubject; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the date/time.
|
||||
/// </summary>
|
||||
public DateTime DateTime {
|
||||
get { return dateTime; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the user.
|
||||
/// </summary>
|
||||
public string User {
|
||||
get { return user; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the change.
|
||||
/// </summary>
|
||||
public Change Change {
|
||||
get { return change; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the description (optional).
|
||||
/// </summary>
|
||||
public string Description {
|
||||
get { return descr; }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Lists possible changes.
|
||||
/// </summary>
|
||||
public enum Change {
|
||||
/// <summary>
|
||||
/// A page was updated.
|
||||
/// </summary>
|
||||
PageUpdated,
|
||||
/// <summary>
|
||||
/// A page was deleted.
|
||||
/// </summary>
|
||||
PageDeleted,
|
||||
/// <summary>
|
||||
/// A page was rolled back.
|
||||
/// </summary>
|
||||
PageRolledBack,
|
||||
/// <summary>
|
||||
/// A page was renamed.
|
||||
/// </summary>
|
||||
PageRenamed,
|
||||
/// <summary>
|
||||
/// A message was posted to a page discussion.
|
||||
/// </summary>
|
||||
MessagePosted,
|
||||
/// <summary>
|
||||
/// A message was deleted from a page discussion.
|
||||
/// </summary>
|
||||
MessageDeleted,
|
||||
/// <summary>
|
||||
/// A message was edited in a page discussion.
|
||||
/// </summary>
|
||||
MessageEdited
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue