예제 #1
0
        public static void Initialize()
        {
            // makes sure there is always an object to return
            // in this case, the null object does nothing but prints out a small debug text

            _nullAudioService = new NullAudio();
            _audioService = _nullAudioService;
        }
예제 #2
0
        public static void Initialize()
        {
            // makes sure there is always an object to return
            // in this case, the null object does nothing but prints out a small debug text

            _nullAudioService = new NullAudio();
            _audioService     = _nullAudioService;
        }