Photomechanics API
Photomechanics.Photo3DStudio.Common Namespace Reference

Classes

class  ComponentBasedDeviceApiBase
 Default components holder implementation. More...
 
class  SerialQueue
 FIFO tasks serial queue. Enqueued task will be processed one at time. From https://github.com/Gentlee/SerialQueue. More...
 

Functions

delegate void ActionEventHandler ()
 Empty action event handler. More...
 
delegate void TypedEventHandler< in TSender > (TSender sender)
 Event handler with strongly typed sender. More...
 
delegate void TypedEventHandler< in TSender, in TEventArgs > (TSender sender, TEventArgs args)
 Event handler with strongly typed sender and event args. More...
 
delegate void SenderlessEventHandler< in TEventArgs > (TEventArgs args)
 Event handler without sender. More...
 

Function Documentation

◆ ActionEventHandler()

delegate void Photomechanics.Photo3DStudio.Common.ActionEventHandler ( )

Empty action event handler.

◆ TypedEventHandler< in TSender >()

delegate void Photomechanics.Photo3DStudio.Common.TypedEventHandler< in TSender > ( TSender  sender)

Event handler with strongly typed sender.

Parameters
senderThe source of the event.
Template Parameters
TSenderThe type of the event sender.

◆ TypedEventHandler< in TSender, in TEventArgs >()

delegate void Photomechanics.Photo3DStudio.Common.TypedEventHandler< in TSender, in TEventArgs > ( TSender  sender,
TEventArgs  args 
)

Event handler with strongly typed sender and event args.

Parameters
senderThe source of the event.
argsAn object that contains the event data.
Template Parameters
TSenderThe type of the event sender.
TEventArgsThe type of the event data generated by the event.

◆ SenderlessEventHandler< in TEventArgs >()

delegate void Photomechanics.Photo3DStudio.Common.SenderlessEventHandler< in TEventArgs > ( TEventArgs  args)

Event handler without sender.

Used when exposing sender is not desired or meaningless (in static events).

Parameters
argsAn object that contains the event data.
Template Parameters
TEventArgsThe type of the event data generated by the event.