public DefaultHuffmanEncodingService(IFileSystemService fileSystemService, IPlatformService platform, IStreamBuilder streamBuilder) { Guard.IsNotNull(fileSystemService, nameof(fileSystemService)); Guard.IsNotNull(platform, nameof(platform)); Guard.IsNotNull(streamBuilder, nameof(streamBuilder)); this.fileSystemService = fileSystemService; this.platform = platform; this.streamBuilder = streamBuilder; }
/// <summary> /// Repository for ingest data. /// </summary> /// <param name="context"></param> public IngestRepository(IngestContext context, IImageStorage imageStorage, IMediaStorage mediaStorage, IStreamBuilder streamBuilder, IObjectBus <IEnumerable <ServiceBus.Types.Clip> > clipBus, IObjectBus <ServiceBus.Types.Editor.Podcast> podcastBus) { DbContext = context; ImageStorage = imageStorage; MediaStorage = mediaStorage; StreamBuilder = streamBuilder; ClipBus = clipBus; PodcastBus = podcastBus; }
/// <summary> /// Instantiates a new EditorRepository. /// </summary> public EditorRepository(IMediaStorage mediaStorage, EditorContext editorDb, IStreamBuilder streamBuilder, IObjectBus <IEnumerable <Vocalia.ServiceBus.Types.Clip> > recordBus, IObjectBus <Vocalia.ServiceBus.Types.Editor.Podcast> editorPodcastBus, IObjectBus <Vocalia.ServiceBus.Types.Publishing.Timeline> publishTimelineBus, IUserFacade userFacade) { DbContext = editorDb; MediaStorage = mediaStorage; StreamBuilder = streamBuilder; UserFacade = userFacade; TimelineBus = publishTimelineBus; //Initializes service bus objects for handling I/O between services. _ = recordBus; _ = editorPodcastBus; }
public PublishingRepository(PublishContext ingestContext, IMediaStorage mediaStorage, IStreamBuilder streamBuilder, IConfiguration config, IObjectBus <Vocalia.ServiceBus.Types.Publishing.Podcast> podcastBus, IObjectBus <Vocalia.ServiceBus.Types.Podcast.Podcast> listenBus, IObjectBus <Timeline> timelineBus ) { DbContext = ingestContext; MediaStorage = mediaStorage; StreamBuilder = streamBuilder; ListenBus = listenBus; Config = config; _ = podcastBus; _ = timelineBus; }
public void InitTests() { streamBuilder = new StringStream(); }
public Reader() { sb = new StringStream(); }
public void InitTests() { sb = new StringStream(); }