// // IAnonymizer.cs // // Copyright (c) František Boháček. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Anonymizer; /// /// An anonymizer used in movers, to anonymize. /// public interface IAnonymizer { /// /// Anonymize the given name. /// /// The name to anonymize. /// An anonymized name. public string AnonymizeName(string name); /// /// Anonymize the given id. /// /// The id to anonymize. /// An anonymized id. public long AnonymizeId(long id); /// /// Anonymize the given id. /// /// The id to anonymize. /// An anonymized id. public int AnonymizeId(int id); /// /// Anonymize the given id. /// /// The id to anonymize. /// An anonymized id. public short AnonymizeId(short id); /// /// Anonymize id and a name. /// /// The id to anonymize. /// The name to anonymize. /// An anonymized tuple, name and id. public (long Id, string Name) Anonymize(long id, string name); }