Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:PageActivityEventArgs" /> class.
 /// </summary>
 /// <param name="page">The page the activity refers to.</param>
 /// <param name="pageOldName">The old name of the renamed page, or <c>null</c>.</param>
 /// <param name="author">The author of the activity, if available, <c>null</c> otherwise.</param>
 /// <param name="activity">The activity.</param>
 public PageActivityEventArgs(PageInfo page, string pageOldName, string author, PageActivity activity)
 {
     this.page = page;
     this.pageOldName = pageOldName;
     this.author = author;
     this.activity = activity;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:PageActivityEventArgs" /> class.
 /// </summary>
 /// <param name="page">The page the activity refers to.</param>
 /// <param name="pageOldName">The old name of the renamed page, or <c>null</c>.</param>
 /// <param name="author">The author of the activity, if available, <c>null</c> otherwise.</param>
 /// <param name="activity">The activity.</param>
 public PageActivityEventArgs(PageInfo page, string pageOldName, string author, PageActivity activity)
 {
     this.page        = page;
     this.pageOldName = pageOldName;
     this.author      = author;
     this.activity    = activity;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:PageActivityEventArgs" /> class.
 /// </summary>
 /// <param name="page">The page the activity refers to.</param>
 /// <param name="pageOldName">The old name of the renamed page, or <c>null</c>.</param>
 /// <param name="author">The author of the activity, if available, <c>null</c> otherwise.</param>
 /// <param name="activity">The activity.</param>
 public PageActivityEventArgs(PageInfo page, string pageOldName, string author, PageActivity activity)
 {
     Page        = page;
     PageOldName = pageOldName;
     Author      = author;
     Activity    = activity;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Fires the PageActivity event.
 /// </summary>
 /// <param name="page">The page the activity refers to.</param>
 /// <param name="pageOldName">The old name of the renamed page, or <c>null</c>.</param>
 /// <param name="author">The author of the activity.</param>
 /// <param name="activity">The activity.</param>
 public void OnPageActivity(PageInfo page, string pageOldName, string author, PageActivity activity)
 {
     if(PageActivity != null) {
         PageActivity(this, new PageActivityEventArgs(page, pageOldName, author, activity));
     }
 }
 internal void Store(PageActivity pageActivity)
 {
     History.Add(pageActivity);
 }
Exemplo n.º 6
0
 public void OnPageActivity(PageInfo page, string pageOldName, string author, PageActivity activity)
 {
     throw new NotImplementedException();
 }