Exemple #1
0
        /// <summary>
        /// Search the results for an issue with the specified fingerprint
        /// </summary>
        /// <param name="fingerprint">The fingerprint we're trying to find</param>
        /// <param name="issue">The issue, if it exists (null if not)</param>
        /// <returns>true iff a matching issue was located and returned</returns>
        public bool TryFindIssue(IFingerprint fingerprint, out Issue issue)
        {
            fingerprint.ArgumentIsNotNull(nameof(fingerprint));

            return(_store.TryGetValue(fingerprint, out issue));
        }
Exemple #2
0
 /// <summary>
 /// Add an Issue to the store
 /// </summary>
 /// <param name="issue">The issue to add</param>
 /// <returns>The result of the operation (AddResult.NotSupported)</returns>
 public AddResult AddIssue(Issue issue)
 {
     issue.ArgumentIsNotNull(nameof(issue));
     return(AddResult.NotSupported);
 }