/// <summary> /// Add a fully specified SyncResult to the collection /// </summary> /// <param name="type"></param> /// <param name="reason"></param> /// <param name="container"></param> /// <param name="itemName"></param> /// <param name="containerName"></param> /// <returns></returns> public SyncResult AddResult(SyncResult.ItemType type, SyncResult.ReasonType reason, SyncResult.ContainerType container, string itemName, string containerName) { SyncResult result = new SyncResult(type, reason, container, itemName, containerName); Results.Add(result); return(result); }
/// <summary> /// Add a simple trace message to the collection /// </summary> /// <param name="traceMessage"></param> /// <returns></returns> public SyncResult AddResult(string traceMessage) { SyncResult result = new SyncResult(traceMessage); Results.Add(result); return(result); }