CapyKit Documentation
  • Introduction
  • Getting Started
  • API Reference
    • CapyKit
      • CapyEventArgs
      • CapyEventHandler
      • CapyEventReporter
      • Color
      • EncryptedValue<T>
      • EventLevel
      • IPasswordAlgorithm
      • NamedColor
      • Password
      • Pbkdf2Algorithm
      • PoolItem<T>
      • Pool<T>
      • PropertyComparer<T, U>
    • CapyKit.Attributes
      • EnumerationAttribute<T>
      • EnumerationDescriptionAttribute
      • ValueFormatAttribute
    • CapyKit.Enumerations
      • MeasurementSystem
    • CapyKit.Extensions
      • EnumerationExtensions
      • LINQExtensions
      • ObjectExtensions
      • StringExtensions
    • CapyKit.Helpers
      • CalculationHelper
      • CompressionHelper
      • EncryptionHelper
      • IEncryptionAlgorithm
      • KeyHelper
      • LanguageHelper
      • SecurityHelper
      • SerializationHelper
      • SettingsHelper
      • ValidCharacterCollection
Search Results for

    Show / Hide Table of Contents
    • Introduction
    • Getting Started
    • API Reference
      • CapyKit
        • CapyEventArgs
        • CapyEventHandler
        • CapyEventReporter
        • Color
        • EncryptedValue<T>
        • EventLevel
        • IPasswordAlgorithm
        • NamedColor
        • Password
        • Pbkdf2Algorithm
        • PoolItem<T>
        • Pool<T>
        • PropertyComparer<T, U>
      • CapyKit.Attributes
        • EnumerationAttribute<T>
        • EnumerationDescriptionAttribute
        • ValueFormatAttribute
      • CapyKit.Enumerations
        • MeasurementSystem
      • CapyKit.Extensions
        • EnumerationExtensions
        • LINQExtensions
        • ObjectExtensions
        • StringExtensions
      • CapyKit.Helpers
        • CalculationHelper
        • CompressionHelper
        • EncryptionHelper
        • IEncryptionAlgorithm
        • KeyHelper
        • LanguageHelper
        • SecurityHelper
        • SerializationHelper
        • SettingsHelper
        • ValidCharacterCollection

    Class CapyEventArgs

    The CapyEventArgs class represents an event argument instance with event level, message, and method name information.

    Inheritance
    object
    EventArgs
    CapyEventArgs
    Namespace: CapyKit
    Assembly: CapyKit.dll
    Syntax
    public class CapyEventArgs : EventArgs

    Constructors

    CapyEventArgs(EventLevel, string, string)

    Initializes a new instance of the CapyEventArgs class with the specified event level, message, and method name.

    Declaration
    public CapyEventArgs(EventLevel level, string message, string method = null)
    Parameters
    Type Name Description
    EventLevel level

    The severity level of the event.

    string message

    A descriptive message explaining the reason for the event.

    string method

    The name of the method where the event was raised.

    Properties

    Level

    Gets the severity level of the event.

    Declaration
    public EventLevel Level { get; }
    Property Value
    Type Description
    EventLevel

    Message

    Gets the message describing the reason for the event.

    Declaration
    public string Message { get; }
    Property Value
    Type Description
    string

    MethodName

    Gets the name of the method where the event was raised.

    Declaration
    public string MethodName { get; }
    Property Value
    Type Description
    string
    In this article
    Back to top Generated by DocFX