Ejemplo n.º 1
0
 public void RegisterEventHandler(ICloudRecoEventHandler eventHandler)
 {
     this.mHandlers.Add(eventHandler);
     if (this.mOnInitializedCalled)
     {
         eventHandler.OnInitialized();
     }
 }
    /// <summary>
    /// Registers an event handler with this CloudRecoBehaviour which will be called on events
    /// </summary>
    public void RegisterEventHandler(ICloudRecoEventHandler eventHandler)
    {
        mHandlers.Add(eventHandler);

        // in case initialization has already happened:
        if (mOnInitializedCalled)
        {
            eventHandler.OnInitialized();
        }
    }
Ejemplo n.º 3
0
    /// <summary>
    /// Registers an event handler with this CloudRecoBehaviour which will be called on events
    /// </summary>
    public void RegisterEventHandler(ICloudRecoEventHandler eventHandler)
    {
        mHandlers.Add(eventHandler);

        // in case initialization has already happened:
        if (mOnInitializedCalled)
            eventHandler.OnInitialized();
    }