Exemple #1
0
 /// <summary>
 /// Notify course about manifest was changed. 
 /// </summary>
 /// <param name="node">Node of manifest that was changed</param>
 /// <param name="changeType">Type of occurred changes</param>
 internal static void NotifyManifestChanged([NotNull] IManifestNode node, ManifestChangeTypes changeType)
 {
     NotifyChanged();
     if (ManifestChanged != null && (State & CourseStates.Saving) == 0)
     {
         ManifestChanged(new ManifestChangedEventArgs(node, null, changeType));
     }
 }
Exemple #2
0
 ///<summary>
 ///  Creates new instance of <c>ManifestChangeEventArgs</c>
 ///</summary>
 ///<param name="changedNode"></param>
 ///<param name="nodes"></param>
 ///<param name="changeType"></param>
 public ManifestChangedEventArgs([NotNull]IManifestNode changedNode, [NotNull]IManifestNode[] nodes, ManifestChangeTypes changeType)
 {
     ChangedNode = changedNode;
         ChangeType = changeType;
         Nodes = nodes;
 }
Exemple #3
0
 /// <summary>
 /// Notify course about manifest was changed. 
 /// </summary>
 /// <param name="node">Node of manifest that was changed</param>
 /// <param name="aNode">Instance of additional node (see documentation for <see cref="ManifestChangedEventArgs"/>)</param>
 /// <param name="changeType">Type of changed that was made</param>
 internal static void NotifyManifestChanged([NotNull]IManifestNode node, [NotNull] IManifestNode[] aNode,
     ManifestChangeTypes changeType)
 {
     throw new NotImplementedException();
 }