public FeatureProvider(
     SectionsModel sectionsModel,
     Randomizer randomizer,
     ISectionsProvider sectionsProvider)
 {
     this.sectionModel     = sectionsModel;
     this.randomizer       = randomizer;
     this.sectionsProvider = sectionsProvider;
 }
Example #2
0
 public WetnessApplier(
     PulseGenerator pulseGenerator,
     ISectionsProvider sectionsProvider,
     IFeatureChooser featureChooser,
     Randomizer randomizer,
     FeatureProvider featureProvider,
     WetnessModel wetness,
     SectionsModel sections
     )
 {
     this.pulseGenerator   = pulseGenerator;
     this.sectionsProvider = sectionsProvider;
     this.wetness          = wetness;
     this.sections         = sections;
     this.featureChooser   = featureChooser;
     this.randomizer       = randomizer;
     this.featureProvider  = featureProvider;
 }
Example #3
0
        public PulseGenerator(
            PulseFrequencyModel pulseFrequency,
            IWaveformExpressionProvider waveformExpressionProvider,
            IWaveFileMetadata waveFileMetadata,
            Randomizer randomizer,
            FeatureProvider featureProvider,
            IFeatureChooser featureChooser,
            ISectionsProvider sectionsProvider,
            ISamplingFrequencyProvider samplingFrequencyProvider) :
            base(waveFileMetadata.NumberOfChannels, waveFileMetadata.PhaseShiftPulses, samplingFrequencyProvider.SamplingFrequency)
        {
            this.pulseFrequency   = pulseFrequency;
            this.randomizer       = randomizer;
            this.featureProvider  = featureProvider;
            this.featureChooser   = featureChooser;
            this.sectionsProvider = sectionsProvider;

            var waveformExpression = waveformExpressionProvider.WaveformExpression;

            if (waveformExpression != null)
            {
                waveformScript = WaveformExpression.Parse(waveformExpression);
            }
        }
Example #4
0
 public ArticleController(ISectionsProvider sectionsProvider, IPageModelExtender pageModelExtender, INodeHelper nodeHelper)
 {
     _pageModelExtender = pageModelExtender;
     _nodeHelper        = nodeHelper;
     _sectionsProvider  = sectionsProvider;
 }
Example #5
0
 public PageController(ISectionsProvider sectionsProvider, IPageModelExtender pageModelExtender)
 {
     _pageModelExtender = pageModelExtender;
     _sectionsProvider  = sectionsProvider;
 }