Exemple #1
0
 /// <summary>
 /// Construct a new instance of the wrapper.
 /// </summary>
 /// <param name="logger">
 /// The logger instance to use.
 /// </param>
 /// <param name="pipeline">
 /// The Pipeline that created this data instance.
 /// </param>
 /// <param name="engine">
 /// The engine that create this data instance.
 /// </param>
 /// <param name="missingPropertyService">
 /// The <see cref="IMissingPropertyService"/> to use if a requested
 /// property does not exist.
 /// </param>
 public DeviceDataCloud(ILogger <AspectDataBase> logger,
                        IPipeline pipeline,
                        IAspectEngine engine,
                        IMissingPropertyService missingPropertyService)
     : base(logger, pipeline, engine, missingPropertyService)
 {
 }
 public EmptyEngineData(
     ILogger <EmptyEngineData> logger,
     IPipeline pipeline,
     IAspectEngine engine,
     IMissingPropertyService missingPropertyService) :
     base(logger, pipeline, engine, missingPropertyService)
 {
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="logger">
 /// Used for logging.
 /// </param>
 /// <param name="pipeline">
 /// The <see cref="IPipeline"/> this instance will be attached to.
 /// </param>
 /// <param name="engine">
 /// The <see cref="IAspectEngine"/> that created this instance.
 /// </param>
 /// <param name="missingPropertyService">
 /// The <see cref="IMissingPropertyService"/> to use when a requested
 /// key cannot be found.
 /// </param>
 public PrimeCheckerData(
     ILogger <AspectDataBase> logger,
     IPipeline pipeline,
     IAspectEngine engine,
     IMissingPropertyService missingPropertyService) :
     base(logger, pipeline, engine, missingPropertyService)
 {
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="logger">
 /// The logger for this instance to use.
 /// </param>
 /// <param name="pipeline">
 /// The Pipeline this data instance has been created by.
 /// </param>
 /// <param name="engine">
 /// The engine this data instance has been created by.
 /// </param>
 /// <param name="missingPropertyService">
 /// The missing property service to use when a requested property
 /// does not exist.
 /// </param>
 protected DeviceDataBaseOnPremise(
     ILogger <AspectDataBase> logger,
     IPipeline pipeline,
     IAspectEngine engine,
     IMissingPropertyService missingPropertyService)
     : base(logger, pipeline, engine, missingPropertyService)
 {
 }
 /// <summary>
 /// Construct a new instance of the wrapper.
 /// </summary>
 /// <param name="logger">
 /// The logger instance to use.
 /// </param>
 /// <param name="pipeline">
 /// The Pipeline that created this data instance.
 /// </param>
 /// <param name="engine">
 /// The engine that create this data instance.
 /// </param>
 /// <param name="missingPropertyService">
 /// The <see cref="IMissingPropertyService"/> to use if a requested
 /// property does not exist.
 /// </param>
 internal DeviceDataHash(
     ILogger <AspectDataBase> logger,
     IPipeline pipeline,
     DeviceDetectionHashEngine engine,
     IMissingPropertyService missingPropertyService)
     : base(logger, pipeline, engine, missingPropertyService)
 {
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="logger">
 /// Used for logging.
 /// </param>
 /// <param name="pipeline">
 /// The <see cref="IPipeline"/> this instance will be attached to.
 /// </param>
 /// <param name="engine">
 /// The <see cref="IAspectEngine"/> that created this instance.
 /// </param>
 /// <param name="missingPropertyService">
 /// The <see cref="IMissingPropertyService"/> to use when a requested
 /// key cannot be found.
 /// </param>
 /// <param name="dictionary">
 /// The dictionary instance to use internally when storing data values.
 /// </param>
 public PrimeCheckerData(
     ILogger <AspectDataBase> logger,
     IPipeline pipeline,
     IAspectEngine engine,
     IMissingPropertyService missingPropertyService,
     IDictionary <string, object> dictionary) :
     base(logger, pipeline, engine, missingPropertyService, dictionary)
 {
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="logger">
 /// Used for logging
 /// </param>
 /// <param name="pipeline">
 /// The <see cref="IPipeline"/> instance this element data will
 /// be associated with.
 /// </param>
 /// <param name="engine">
 /// The <see cref="IAspectEngine"/> that created this instance
 /// </param>
 /// <param name="missingPropertyService">
 /// The <see cref="IMissingPropertyService"/> to use when a requested
 /// key cannot be found.
 /// </param>
 public AspectDataBase(
     ILogger <AspectDataBase> logger,
     IPipeline pipeline,
     IAspectEngine engine,
     IMissingPropertyService missingPropertyService)
     : base(logger, pipeline)
 {
     Logger   = logger;
     _engines = new List <IAspectEngine>()
     {
         engine
     };
     MissingPropertyService = missingPropertyService;
 }
Exemple #8
0
 internal TestResults(
     ILogger <AspectDataBase> logger,
     IPipeline pipeline,
     IAspectEngine engine,
     IMissingPropertyService missingPropertyService,
     object value)
     : base(logger, pipeline, engine, missingPropertyService)
 {
     _value = value;
     // The ResultManager needs to have something added to it
     // in order to allow access to the values.
     // For this test, we can just give it a null reference.
     Results.AddResult(null);
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="logger">
 /// Used for logging
 /// </param>
 /// <param name="pipeline">
 /// The <see cref="IPipeline"/> instance this element data will
 /// be associated with.
 /// </param>
 /// <param name="engine">
 /// The <see cref="IAspectEngine"/> that created this instance
 /// </param>
 /// <param name="missingPropertyService">
 /// The <see cref="IMissingPropertyService"/> to use when a requested
 /// key cannot be found.
 /// </param>
 /// <param name="dictionary">
 /// The dictionary instance to use internally when storing data values.
 /// </param>
 public AspectDataBase(
     ILogger <AspectDataBase> logger,
     IPipeline pipeline,
     IAspectEngine engine,
     IMissingPropertyService missingPropertyService,
     IDictionary <string, object> dictionary)
     : base(logger, pipeline, dictionary)
 {
     Logger   = logger;
     _engines = new List <IAspectEngine>()
     {
         engine
     };
     MissingPropertyService = missingPropertyService;
 }
 public void Initialise()
 {
     _service = MissingPropertyService.Instance;
 }