Esempio n. 1
0
 internal ComponentMetaData(
     DeviceDetectionHashEngine engine,
     ComponentMetaDataSwig source)
 {
     _engine = engine;
     _source = source;
 }
        public ComponentMetaDataSwig getComponentForProperty(PropertyMetaDataSwig property)
        {
            global::System.IntPtr cPtr = DeviceDetectionHashEngineModulePINVOKE.MetaDataSwig_getComponentForProperty(swigCPtr, PropertyMetaDataSwig.getCPtr(property));
            ComponentMetaDataSwig ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ComponentMetaDataSwig(cPtr, true);

            if (DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Pending)
            {
                throw DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public PropertyMetaDataCollectionSwig getPropertiesForComponent(ComponentMetaDataSwig component)
        {
            global::System.IntPtr          cPtr = DeviceDetectionHashEngineModulePINVOKE.MetaDataSwig_getPropertiesForComponent(swigCPtr, ComponentMetaDataSwig.getCPtr(component));
            PropertyMetaDataCollectionSwig ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyMetaDataCollectionSwig(cPtr, true);

            if (DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Pending)
            {
                throw DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 4
0
        public ComponentMetaDataSwig getByIndex(uint index)
        {
            global::System.IntPtr cPtr = DeviceDetectionHashEngineModulePINVOKE.ComponentMetaDataCollectionSwig_getByIndex(swigCPtr, index);
            ComponentMetaDataSwig ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ComponentMetaDataSwig(cPtr, true);

            if (DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Pending)
            {
                throw DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 5
0
        public ComponentMetaDataSwig getByKey(SWIGTYPE_p_byte key)
        {
            global::System.IntPtr cPtr = DeviceDetectionHashEngineModulePINVOKE.ComponentMetaDataCollectionSwig_getByKey(swigCPtr, SWIGTYPE_p_byte.getCPtr(key));
            ComponentMetaDataSwig ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ComponentMetaDataSwig(cPtr, true);

            if (DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Pending)
            {
                throw DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ComponentMetaDataSwig obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 7
0
 public ProfileMetaDataSwig getDefaultProfileForComponent(
     ComponentMetaDataSwig component)
 {
     return(_object.getDefaultProfileForComponent(component));
 }
Esempio n. 8
0
 public PropertyMetaDataCollectionSwig getPropertiesForComponent(
     ComponentMetaDataSwig component)
 {
     return(_object.getPropertiesForComponent(component));
 }