public HlsPlaylistSegmentManagerFactory(IHlsPlaylistSegmentManagerPolicy hlsPlaylistSegmentManagerPolicy, IPlatformServices platformServices)
        {
            if (null == hlsPlaylistSegmentManagerPolicy)
                throw new ArgumentNullException(nameof(hlsPlaylistSegmentManagerPolicy));
            if (null == platformServices)
                throw new ArgumentNullException(nameof(platformServices));

            _hlsPlaylistSegmentManagerPolicy = hlsPlaylistSegmentManagerPolicy;
            _platformServices = platformServices;
        }
 public HlsPlaylistSegmentManagerFactory(IHlsPlaylistSegmentManagerPolicy hlsPlaylistSegmentManagerPolicy, IPlatformServices platformServices)
 {
     if (null == hlsPlaylistSegmentManagerPolicy)
     {
         throw new ArgumentNullException("hlsPlaylistSegmentManagerPolicy");
     }
     if (null == platformServices)
     {
         throw new ArgumentNullException("platformServices");
     }
     this._hlsPlaylistSegmentManagerPolicy = hlsPlaylistSegmentManagerPolicy;
     this._platformServices = platformServices;
 }
Пример #3
0
        public HlsPlaylistSegmentManagerFactory(IHlsPlaylistSegmentManagerPolicy hlsPlaylistSegmentManagerPolicy, IPlatformServices platformServices)
        {
            if (null == hlsPlaylistSegmentManagerPolicy)
            {
                throw new ArgumentNullException(nameof(hlsPlaylistSegmentManagerPolicy));
            }
            if (null == platformServices)
            {
                throw new ArgumentNullException(nameof(platformServices));
            }

            _hlsPlaylistSegmentManagerPolicy = hlsPlaylistSegmentManagerPolicy;
            _platformServices = platformServices;
        }