コード例 #1
0
        private void Dispose(bool dispose)
        {
            if (dispose)
            {
                if (_articleRepository != null)
                {
                    _articleRepository = null;
                }

                if (_articlePhotoRepository != null)
                {
                    _articlePhotoRepository = null;
                }

                if (_nextEventRepository != null)
                {
                    _nextEventRepository = null;
                }

                if (_photoRepository != null)
                {
                    _photoRepository = null;
                }

                if (_playerPhotoRepository != null)
                {
                    _playerPhotoRepository = null;
                }

                if (_playerPositionRepository != null)
                {
                    _playerPositionRepository = null;
                }

                if (_playerRepository != null)
                {
                    _playerRepository = null;
                }

                if (_positionRepository != null)
                {
                    _positionRepository = null;
                }

                if (_userRepository != null)
                {
                    _userRepository = null;
                }
            }
        }
コード例 #2
0
 public PlayerPositionServiceP(IPlayerPositionRepository <PlayerPosition> repository) : base(repository)
 {
 }