CK.Core CriticalErrorCollector em C# (CSharp) - 4 exemplos encontrados. Esses são os exemplos do mundo real mais bem avaliados de CK.Core.CriticalErrorCollector em C# (CSharp) extraídos de projetos de código aberto. Você pode avaliar os exemplos para nos ajudar a melhorar a qualidade deles.
This collector keeps CapacityErrors (and no more). It raises OnErrorFromBackgroundThreads event on each Add. It is totally thread-safe and guaranties (as long as its Capacity is big enough) that no error can be lost (even errors raised while dispatching the event are themselves collected) and that errors are dispatched in sequence.
This class is typically used as a static property or field by any object that must handle unexpected errors. (It can also be used per-instance if it makes sense.)