internal ComponentMetaData( DeviceDetectionHashEngine engine, ComponentMetaDataSwig source) { _engine = engine; _source = source; }
public ComponentCollectionSwigWrapper( ComponentMetaDataCollectionSwig instance, DeviceDetectionHashEngine engine) { _object = instance; _engine = engine; }
public PropertyCollectionSwigWrapper( PropertyMetaDataCollectionSwig instance, DeviceDetectionHashEngine engine) { _object = instance; _engine = engine; }
public void Dispose() { Pipeline.Dispose(); Pipeline = null; Engine.Dispose(); Engine = null; }
public ValueCollectionSwigWrapper( ValueMetaDataCollectionSwig instance, DeviceDetectionHashEngine engine) { _object = instance; _engine = engine; }
internal ProfileMetaData( DeviceDetectionHashEngine engine, ProfileMetaDataSwig source) { _source = source; _engine = engine; }
/// <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) { }
internal ValueMetaData(DeviceDetectionHashEngine engine, ValueMetaDataSwig source) { if (source == null) { throw new ArgumentNullException(nameof(source)); } _source = source; _engine = engine; }
public WrapperHash(FileInfo dataFile, PerformanceProfiles profile) { var builder = new DeviceDetectionHashEngineBuilder(_logger, null) .SetPerformanceProfile(profile) .SetUpdateMatchedUserAgent(true) .SetAutoUpdate(false) .SetDataFileSystemWatcher(false); Engine = builder .Build(dataFile.FullName, false); Pipeline = new PipelineBuilder(_logger) .AddFlowElement(Engine) .Build(); }
internal PropertyMetaDataHash(DeviceDetectionHashEngine engine, PropertyMetaDataSwig source) { _source = source; _engine = engine; // Load property meta data Url = _source.getUrl(); DisplayOrder = (byte)_source.getDisplayOrder(); Mandatory = _source.getIsMandatory(); List = _source.getIsList(); Obsolete = _source.getIsObsolete(); Show = _source.getShow(); ShowValues = _source.getShowValues(); Description = _source.getDescription(); DataTiersWherePresent = _source.getDataFilesWherePresent(); Available = _source.getAvailable(); Category = _source.getCategory(); Name = _source.getName(); }
public DataValidatorHash(DeviceDetectionHashEngine engine) { _engine = engine; }
public IValueCollectionSwigWrapper getValues( DeviceDetectionHashEngine engine) { return(new ValueCollectionSwigWrapper(_object.getValues(), engine)); }
public IProfileCollectionSwigWrapper getProfiles( DeviceDetectionHashEngine engine) { return(new ProfileCollectionSwigWrapper(_object.getProfiles(), engine)); }
public IComponentCollectionSwigWrapper getComponents( DeviceDetectionHashEngine engine) { return(new ComponentCollectionSwigWrapper(_object.getComponents(), engine)); }
public IValueCollectionSwigWrapper getValuesForProperty( PropertyMetaDataSwig property, DeviceDetectionHashEngine engine) { return(new ValueCollectionSwigWrapper(_object.getValuesForProperty(property), engine)); }