Exemplo n.º 1
0
 /// <summary>
 /// Creates the specified frequence helper.
 /// </summary>
 /// <param name="frequenceHelper">The frequence helper.</param>
 public static void Create(IFrequenceHelper frequenceHelper)
 {
     var samplerFactory = new SamplerFactory(frequenceHelper);
     Instance = new MonitorFactory(samplerFactory);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MonitorFactory"/> class.
 /// </summary>
 /// <param name="samplerFactory">The sampler factory.</param>
 private MonitorFactory(SamplerFactory samplerFactory)
 {
     _samplerFactory = samplerFactory;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MonitorFactory"/> class.
 /// </summary>
 /// <param name="samplerFactory">The sampler factory.</param>
 private MonitorFactory(SamplerFactory samplerFactory)
 {
     _samplerFactory = samplerFactory;
 }
Exemplo n.º 4
0
        /// <summary>
        /// Creates the specified frequence helper.
        /// </summary>
        /// <param name="frequenceHelper">The frequence helper.</param>
        public static void Create(IFrequenceHelper frequenceHelper)
        {
            var samplerFactory = new SamplerFactory(frequenceHelper);

            Instance = new MonitorFactory(samplerFactory);
        }