Code/SifCommonFramework/Systemic.Sif.Demo.Subscribing.Print/StudentPersonalSubscriber.cs
/// <summary>
/// This implementation will simply print the received StudentPersonal record to the console.
/// </summary>
/// <param name="sifEvent">SIF Event received.</param>
/// <param name="zone">Zone the SIF Event was received from.</param>
This implementation will simply print the received StudentPersonal record to the console.
This implementation will simply print the received StudentPersonal record to the console .
protected override void ProcessEvent(SifEvent<StudentPersonal> sifEvent, IZone zone)
        {
            if (log.IsDebugEnabled) log.Debug(sifEvent.SifDataObject.ToXml());
            if (log.IsDebugEnabled) log.Debug("Received a " + sifEvent.EventAction.ToString() + " event for StudentPersonal in Zone " + zone.ZoneId + ".");
        }
protected override void ProcessEvent ( SifEvent < StudentPersonal > sifEvent , IZone zone ) { if ( log . IsDebugEnabled ) log . Debug ( sifEvent . SifDataObject . ToXml ( ) ) ; if ( log . IsDebugEnabled ) log . Debug ( " " + sifEvent . EventAction . ToString ( ) + " " + zone . ZoneId + " " ) ; }
This implementation will simply print the received StudentPersonal record to the console.
This implementation will simply print the received StudentPersonal record to the console .
sifEvent
SifEvent<StudentPersonal>
SIF Event received.
SIF Event received .
zone
IZone
Zone the SIF Event was received from.
Zone the SIF Event was received from .