/// <summary> /// Gets the instance descriptor. /// </summary> /// <param name="engineInstance">The engine instance.</param> /// <returns></returns> private InstanceDescriptor GetInstanceDescriptor(IEngineInstance engineInstance) { if (engineInstance == null) { return(null); } InstanceDescriptor instanceDescriptor = new InstanceDescriptor(); instanceDescriptor.Id = engineInstance.Id; instanceDescriptor.Name = engineInstance.Name; instanceDescriptor.DataPublicationEndpoints = engineInstance.DataPublicationEndpoints.ToArray(); return(instanceDescriptor); }
/// <summary> /// Initializes a new instance of the <see cref="StatementCreationEventArgs"/> class. /// </summary> /// <param name="instance">The instance.</param> /// <param name="statement">The statement.</param> public StatementCreationEventArgs(IEngineInstance instance, EPStatement statement) { Instance = instance; Statement = statement; }
/// <summary> /// Initializes a new instance of the <see cref="InstanceEventArgs"/> class. /// </summary> /// <param name="instance">The instance.</param> public InstanceEventArgs(IEngineInstance instance) { Instance = instance; }
/// <summary> /// Initializes a new instance of the <see cref="StatementCreationEventArgs"/> class. /// </summary> /// <param name="instance">The instance.</param> /// <param name="statement">The statement.</param> public StatementCreationEventArgs(IEngineInstance instance, EPStatement statement) { Instance = instance; Statement = statement; }
/// <summary> /// Gets the instance descriptor. /// </summary> /// <param name="engineInstance">The engine instance.</param> /// <returns></returns> private InstanceDescriptor GetInstanceDescriptor(IEngineInstance engineInstance) { if (engineInstance == null) { return null; } InstanceDescriptor instanceDescriptor = new InstanceDescriptor(); instanceDescriptor.Id = engineInstance.Id; instanceDescriptor.Name = engineInstance.Name; instanceDescriptor.DataPublicationEndpoints = engineInstance.DataPublicationEndpoints.ToArray(); return instanceDescriptor; }