Ejemplo n.º 1
0
        protected override IDataLayer CreateDataLayer(IDataStore dataStore)
        {
            var creatingWorkingDataLayerArgs = new CreatingWorkingDataLayerArgs(dataStore);

            OnCreatingWorkingDataLayer(creatingWorkingDataLayerArgs);
            _dataLayer = creatingWorkingDataLayerArgs.DataLayer ?? CreateDataLayerCore(dataStore);
            return(_dataLayer);
        }
Ejemplo n.º 2
0
        protected void OnCreatingWorkingDataLayer(CreatingWorkingDataLayerArgs e)
        {
            EventHandler <CreatingWorkingDataLayerArgs> handler = CreatingWorkingDataLayer;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Ejemplo n.º 3
0
 protected override IDataLayer CreateDataLayer(IDataStore dataStore) {
     var creatingWorkingDataLayerArgs = new CreatingWorkingDataLayerArgs(dataStore);
     OnCreatingWorkingDataLayer(creatingWorkingDataLayerArgs);
     _dataLayer = creatingWorkingDataLayerArgs.DataLayer ?? CreateDataLayerCore(dataStore);
     return _dataLayer;
 }
Ejemplo n.º 4
0
 protected void OnCreatingWorkingDataLayer(CreatingWorkingDataLayerArgs e) {
     EventHandler<CreatingWorkingDataLayerArgs> handler = CreatingWorkingDataLayer;
     if (handler != null) handler(this, e);
 }