Exemplo n.º 1
0
        public PropertyMetaDataSwig getByIndex(uint index)
        {
            global::System.IntPtr cPtr = DeviceDetectionHashEngineModulePINVOKE.PropertyMetaDataCollectionSwig_getByIndex(swigCPtr, index);
            PropertyMetaDataSwig  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyMetaDataSwig(cPtr, true);

            if (DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Pending)
            {
                throw DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public PropertyMetaDataSwig getPropertyForValue(ValueMetaDataSwig value)
        {
            global::System.IntPtr cPtr = DeviceDetectionHashEngineModulePINVOKE.MetaDataSwig_getPropertyForValue(swigCPtr, ValueMetaDataSwig.getCPtr(value));
            PropertyMetaDataSwig  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyMetaDataSwig(cPtr, true);

            if (DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Pending)
            {
                throw DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public ValueMetaDataSwig getDefaultValueForProperty(PropertyMetaDataSwig property)
        {
            global::System.IntPtr cPtr = DeviceDetectionHashEngineModulePINVOKE.MetaDataSwig_getDefaultValueForProperty(swigCPtr, PropertyMetaDataSwig.getCPtr(property));
            ValueMetaDataSwig     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ValueMetaDataSwig(cPtr, true);

            if (DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Pending)
            {
                throw DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        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();
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyMetaDataSwig obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 6
0
 public IValueCollectionSwigWrapper getValuesForProperty(
     PropertyMetaDataSwig property,
     DeviceDetectionHashEngine engine)
 {
     return(new ValueCollectionSwigWrapper(_object.getValuesForProperty(property), engine));
 }
Exemplo n.º 7
0
 public ValueMetaDataSwig getDefaultValueForProperty(
     PropertyMetaDataSwig property)
 {
     return(_object.getDefaultValueForProperty(property));
 }
Exemplo n.º 8
0
 public ComponentMetaDataSwig getComponentForProperty(
     PropertyMetaDataSwig property)
 {
     return(_object.getComponentForProperty(property));
 }