Class EcoreSynchronizationContext

    Definition

    Namespace:
    ElmSharp
    Assembly:
    ElmSharp.dll

    Provides a synchronization context for the EFL application.

    [Obsolete("This has been deprecated in API12")]
    public class EcoreSynchronizationContext : SynchronizationContext
    Inheritance
    object
    System.Threading.SynchronizationContext
    EcoreSynchronizationContext

    Constructors

    View Source

    EcoreSynchronizationContext()

    Initializes a new instance of the EcoreSynchronizationContext class.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public EcoreSynchronizationContext()

    Methods

    View Source

    Initialize()

    Initilizes a new EcoreSynchronizationContext and installs into the current thread.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public static void Initialize()
    Remarks

    It is equivalent

    SetSynchronizationContext(new EcoreSynchronizationContext());
    View Source

    Post(SendOrPostCallback, object)

    Dispatches an asynchronous message to a Ecore main loop.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public override void Post(SendOrPostCallback d, object state)
    Parameters
    Type Name Description
    System.Threading.SendOrPostCallback d

    The System.Threading.SendOrPostCallback delegate to call.

    object state

    The object passed to the delegate.

    Overrides
    System.Threading.SynchronizationContext.Post(System.Threading.SendOrPostCallback, object)
    Remarks

    The Post method starts an asynchronous request to post a message.

    View Source

    Send(SendOrPostCallback, object)

    Dispatches an synchronous message to a Ecore main loop.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public override void Send(SendOrPostCallback d, object state)
    Parameters
    Type Name Description
    System.Threading.SendOrPostCallback d

    The System.Threading.SendOrPostCallback delegate to call.

    object state

    The object passed to the delegate.

    Overrides
    System.Threading.SynchronizationContext.Send(System.Threading.SendOrPostCallback, object)
    Remarks

    The Send method starts a synchronous request to send a message.

    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX