Code/SifCommonFramework/Systemic.Sif.Framework/Subscriber/GenericSubscriber.cs
/// <summary>
/// Signals this class to begin the syncrhonization process. This class is responsible for querying the zone
/// for any data it needs to synchronize itself. Unless the AddToSyncQuery(Query) method is overwritten, the
/// synchronisation will request all SIF Data Objects of the appropriate type.
/// </summary>
/// <param name="zone">Zone to synchronise with.</param>
Signals this class to begin the syncrhonization process. This class is responsible for querying the zone
for any data it needs to synchronize itself. Unless the AddToSyncQuery(Query) method is overwritten, the
synchronisation will request all SIF Data Objects of the appropriate type.
Signals this class to begin the syncrhonization process . This class is responsible for querying the zone for any data it needs to synchronize itself . Unless the AddToSyncQuery ( Query ) method is overwritten the synchronisation will request all SIF Data Objects of the appropriate type .
public virtual void Sync(IZone zone)
        {
            Query query = new Query(SifObjectType);
            query.SifVersions = new SifVersion[] { AgentConfiguration.Version };
            AddToSyncQuery(query, zone);
            zone.Query(query);
        }
public virtual void Sync ( IZone zone ) { Query query = new Query ( SifObjectType ) ; query . SifVersions = new SifVersion [ ] { AgentConfiguration . Version } ; AddToSyncQuery ( query , zone ) ; zone . Query ( query ) ; }
Signals this class to begin the syncrhonization process.
Signals this class to begin the syncrhonization process .
// Create a Query for the SIF Data Object type. // Without this, an error occurs. // Add any query conditions you may have.
zone
IZone
Zone to synchronise with.
Zone to synchronise with .