protected Error ConvertToError(IPersistedError source)
        {
            var e = Error.FromJson(source.FullJson);

            e.DuplicateCount    = source.DuplicateCount;
            e.LastDuplicateDate = source.LastDuplicateDate;
            e.DeletionDate      = source.DeletionDate;
            e.IsProtected       = source.IsProtected;
            return(e);
        }
Exemplo n.º 2
0
        protected Error ConvertToError(IPersistedError source)
        {
            var e = Error.FromJson(source.FullJson);

            e.DuplicateCount = source.DuplicateCount;
            //LastLogDate will be added in StackExchange.Exceptional v2
            //e.LastLogDate = source.LastLogDate;
            e.DeletionDate = source.DeletionDate;
            e.IsProtected  = source.IsProtected;
            return(e);
        }