public FrameByMeaningMissingProcessor(
     FrameMeaning meaning,
     IProcessorMutable processor)
 {
     Meaning   = meaning;
     Processor = processor;
 }
Пример #2
0
        public FileProcessor(IProcessorMutable processor)
        {
            Debug.Assert(processor.SupportedClasses().Contains(typeof(Tag)));
            Processor = processor;

            WriteStrategy = Rewriter.Strategy.NeverShrink;
        }
Пример #3
0
        public DirectoryProcessor(IProcessorMutable processor)
        {
            Debug.Assert(processor.SupportedClasses().Contains(typeof(FileInfo)) ||
                         processor.SupportedClasses().Contains(typeof(DirectoryInfo)));

            FileMask  = fileMaskMp3;
            Processor = processor;
        }
Пример #4
0
        public TagProcessor(IProcessorMutable processor)
        {
            if (!processor.SupportedClasses().Contains(typeof(Frame)))
            {
                throw new Exception(GetType().Name
                                    + " can't handle processor of type " + processor.GetType().Name);
            }

            Processor = processor;
        }
Пример #5
0
 public DirectoryProcessor(IProcessorMutable processor, bool forceRecurse)
     : this(processor)
 {
     ForceRecurse = forceRecurse;
 }