コード例 #1
0
        public void MarkAsSensitiveData()
        {
            if (!Who.IsNullOrEmpty() && Who.Contains('@'))
            {
                Who = Who.TruncateEmail();
            }
            else
            {
                Who = Who?.TruncateSensitiveInformation();
            }

            Details   = Details?.TruncateSensitiveInformation();
            Aggregate = Aggregate?.TruncateSensitiveInformation();
        }