ObjectDelegate

Configuration of an object delegate (Event).

Namespace:
Inetdev.Context.Configuration
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Object

Constructors

ObjectDelegate

Initializes a new instance of ObjectDelegate.

Signature:
public Void ObjectDelegate(eventName, objectName, methodName, optional)
Parameters
Name Type Summary
eventName String The name of the event to hook the method to.
objectName String Name of the object that contains the delegate method.
methodName String The method name that implement the event handler.
optional Boolean Whether the event is considered optional.
Exceptions
Type Summary
ArgumentNullOrEmptyException Thrown when any of the argument are null or empty.

Properties

Event

The name of the event to hook the method to.

Signature:
public String Event { get; set; }

Method

The method name that implement the event handler.

Signature:
public String Method { get; set; }

Name

Name of the object that contains the delegate method.

Signature:
public String Name { get; set; }

Optional

Whether the event is considered optional.

Signature:
public Boolean Optional { get; set; }

Methods

ToString

Returns a textual representation of the object delegate configuration.

Signature:
public String ToString()