Generated by DocFX

Class EventFactory

Get Event based on the type

Inheritance
System.Object
EventFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VEDriversLite.Events
Assembly: VEDriversLite.dll
Syntax
public static class EventFactory

Methods

| Improve this Doc View Source

Clone(IEventInfo, Boolean, EventType)

Clone the event object

Declaration
public static async Task<IEventInfo> Clone(IEventInfo inev, bool asType = false, EventType type = EventType.Info)
Parameters
Type Name Description
IEventInfo inev
System.Boolean asType
EventType type
Returns
Type Description
System.Threading.Tasks.Task<IEventInfo>
| Improve this Doc View Source

GetEvent(EventType, String, String, String, String, Double)

Get Event based on the type

Declaration
public static async Task<IEventInfo> GetEvent(EventType type, string title, string message, string address = "", string txid = "", double progress = 0)
Parameters
Type Name Description
EventType type
System.String title
System.String message
System.String address
System.String txid
System.Double progress
Returns
Type Description
System.Threading.Tasks.Task<IEventInfo>