/// <summary> /// get properties associated with SyncElementStatus /// </summary> /// <param name="syncElementStatus">status</param> /// <returns></returns> public static StatusProperties GetStatusProperties(SyncElementStatus syncElementStatus) { return(statusPropertiesList[(int)syncElementStatus]); }
/// <summary> /// create StatusChangedEvent /// </summary> /// <param name="syncElementInfo">reference to the element, whose status has been changed</param> /// <param name="createStatus">the status of the element, which should be preserved</param> public StatusChangedEvent(SyncElementInfo syncElementInfo, SyncElementStatus createStatus) { SyncElementInfo = syncElementInfo; CreateStatus = createStatus; }
/// <summary> /// call when conflicted /// </summary> /// <param name="ci">conflict info</param> public void Conflicted(ElementConflictInfo ci) { ConflictInfo = ci; SyncStatus = SyncElementStatus.Conflicted; }
/// <summary> /// get properties associated with SyncElementStatus /// </summary> /// <param name="syncElementStatus">status</param> /// <returns></returns> public static StatusProperties GetStatusProperties(SyncElementStatus syncElementStatus) { return statusPropertiesList[(int)syncElementStatus]; }