public ReferenceChange( ReferenceType referenceType, string fullName, string name, Hash oldHash, Hash newHash, ReferenceChangeType changeType) { _referenceType = referenceType; _fullName = fullName; _name = name; _oldHash = oldHash; _newHash = newHash; _changeType = changeType; }
private static string GetTextPrefix(ReferenceChangeType change) { switch (change) { case ReferenceChangeType.Added: return(Resources.StrAdded); case ReferenceChangeType.Moved: return(Resources.StrUpdated); case ReferenceChangeType.Removed: return(Resources.StrRemoved); default: return(string.Empty); } }
private static string GetTextPrefix(ReferenceChangeType change) { switch(change) { case ReferenceChangeType.Added: return Resources.StrAdded; case ReferenceChangeType.Moved: return Resources.StrUpdated; case ReferenceChangeType.Removed: return Resources.StrRemoved; default: return string.Empty; } }