Esempio n. 1
0
        public FunctionResult RemoveObserver(IFFTAICommunicationV2IAPInterfaceObserver observer)
        {
            if (Observers.Contains(observer) == true)
            {
                Observers.Remove(observer);
            }

            return(FunctionResult.Success);
        }
Esempio n. 2
0
        //-------------------------------------------- Function Definition (Request) ----------------------------

        //-------------------------------------------- Function Definition --------------------------------------

        //-------------------------------------------- Observer Notification Function ---------------------------

        public FunctionResult AddObserver(IFFTAICommunicationV2IAPInterfaceObserver observer)
        {
            if (Observers.Contains(observer) == true)
            {
                return(FunctionResult.Success);
            }

            Observers.Add(observer);

            return(FunctionResult.Success);
        }