예제 #1
0
        //Saves the EventStore if there is a Storage Provider set
        public AppEventsClient SaveStore()
        {
            if (_storageProvider != null)
            {
                _storageProvider.SaveEventStore(EventStore);
            }

            return(this);
        }
예제 #2
0
        //Saves the EventStore if there is a Storage Provider set
        public EventClient SaveEventStore()
        {
            if (_storageProvider != null)
            {
                _storageProvider.SaveEventStore(_eventStore);
            }

            return(this);
        }