public ISnooper Create(ISnooper snooperPrototype, IEnumerable <SnooperExportBase> sourceExports, DirectoryInfo exportDirectory) { return(this.Container.Resolve(snooperPrototype.GetType(), new { sourceExports = sourceExports as SnooperExportBase[] ?? sourceExports.ToArray(), exportDirectory, }) as ISnooper); }
public ISnooper Create(ISnooper snooperPrototype, IEnumerable <FileInfo> sourceFiles, DirectoryInfo exportDirectory) { return(this.Container.Resolve(snooperPrototype.GetType(), new { sourceFiles = sourceFiles as FileInfo[] ?? sourceFiles.ToArray(), exportDirectory }) as ISnooper); }
public ISnooper Create(ISnooper snooperPrototype, SelectedConversations conversations, DirectoryInfo exportDirectory, Boolean ignoreApplicationTags) { return(this.Container.Resolve(snooperPrototype.GetType(), new { conversations, exportDirectory, ignoreApplicationTags }) as ISnooper); }