Delegate SerializerEventHandler

Represents the method to handle events generated by a
Serializer


public delegate SerializerEventHandler
using RoboticsConnection.Serializer;
using RoboticsConnection.Serializer.Ids;
using RoboticsConnection.Serializer.Sensors;
using RoboticsConnection.Serializer.Components;
using RoboticsConnection.Serializer.Controllers;
using System;

namespace test
{
	class Program
	{
		static Serializer serializer;
		static SP03 speaker;

		static void Main(string[] args)
		{
			serializer = new Serializer();
			serializer.CommunicationStarted += new SerializerEventHandler(serializer_CommunicationStarted);

			speaker = new SP03(serializer);

			serializer.Run();
		}

		static void serializer_CommunicationStarted(Serializer sender)
		{
			speaker.Speak("Communication Started");
		}

	}
}

Properties, Events and Methods


MemberDescription
Constructor
BeginInvoke
public virtual IAsyncResult BeginInvoke( Serializer sender,
AsyncCallback callback,
object object );
Clone Inherited from System.Delegate
public virtual object Clone();
DynamicInvoke Inherited from System.Delegate
public object DynamicInvoke( Object[] args );
EndInvoke
public virtual void EndInvoke( IAsyncResult result );
Equals Inherited from System.MulticastDelegate
public sealed bool Equals( object obj );
GetHashCode Inherited from System.MulticastDelegate
public sealed int GetHashCode();
GetInvocationList Inherited from System.MulticastDelegate
public sealed Delegate[] GetInvocationList();
GetObjectData Inherited from System.MulticastDelegate
public virtual void GetObjectData( SerializationInfo info,
StreamingContext context );
GetType Inherited from System.Object
public Type GetType();
Invoke
public virtual void Invoke( Serializer sender );
ToString Inherited from System.Object
public virtual string ToString();
Method Inherited from System.Delegate
Target Inherited from System.Delegate

Requirements

Namespace: RoboticsConnection.Serializer
Assembly: RoboticsConnection.Serializer.dll


Last Updated: 3/16/2008