Permalink
Browse files

Making DataEventSystemFacade.FireExternalStoreChangeEvent( ... ) publ…

…ic to better fix #623.
  • Loading branch information...
mawtex committed Oct 9, 2018
1 parent 546737d commit f2fd0555c06a719df63bdaf559ea9bb667e2e06a
Showing with 13 additions and 13 deletions.
  1. +13 −13 Composite/Data/DataEventSystemFacade.cs
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Globalization;
using Composite.C1Console.Events;
@@ -427,6 +427,18 @@ public static void UnsubscribeToDataAfterBuildNew(Type dataType, DataEventHandle
}
/// <summary>
/// Fire this when an external store has changed outside the process to notify subscribers to the StoreChangeEvent.
/// </summary>
/// <param name="dataType"></param>
/// <param name="publicationScope"></param>
/// <param name="locale"></param>
public static void FireExternalStoreChangedEvent(Type dataType, PublicationScope publicationScope, CultureInfo locale)
{
FireStoreChangedEvent(dataType, publicationScope, locale, false);
}
internal static void FireDataBeforeAddEvent(Type dataType, IData data)
{
var args = new DataEventArgs(dataType, data);
@@ -453,18 +465,6 @@ internal static void FireDataAfterAddEvent(Type dataType, IData data)
}
/// <summary>
/// Fire this when an external store has changed outside the process to notify subscribers to the StoreChangeEvent.
/// </summary>
/// <param name="dataType"></param>
/// <param name="publicationScope"></param>
/// <param name="locale"></param>
internal static void FireExternalStoreChangedEvent(Type dataType, PublicationScope publicationScope, CultureInfo locale)
{
FireStoreChangedEvent(dataType, publicationScope, locale, false);
}
/// <summary>
/// Follow up event for intally fired events
/// </summary>

0 comments on commit f2fd055

Please sign in to comment.