MethodItem Class
MethodItem ClassApache log4net™ SDK Documentation
provides method information without actually referencing a System.Reflection.MethodBase as that would require that the containing assembly is loaded.
Inheritance Hierarchy

SystemObject
  log4net.CoreMethodItem

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

[SerializableAttribute]
public class MethodItem

The MethodItem type exposes the following members.

Constructors

  NameDescription
Public methodMethodItem
constructs a method item for an unknown method.
Public methodMethodItem(MethodBase)
constructs a method item from a method base by determining the method name and its parameters.
Public methodMethodItem(String)
constructs a method item from the name of the method.
Public methodMethodItem(String, String)
constructs a method item from the name of the method and its parameters.
Top
Properties

  NameDescription
Public propertyName
Gets the method name of the caller making the logging request.
Public propertyParameters
Gets the method parameters of the caller making the logging request.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also

Reference