コード例 #1
0
 internal ComponentMetaData(
     DeviceDetectionHashEngine engine,
     ComponentMetaDataSwig source)
 {
     _engine = engine;
     _source = source;
 }
コード例 #2
0
        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);
        }
コード例 #3
0
        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);
        }
コード例 #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);
        }
コード例 #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);
        }
コード例 #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);
 }
コード例 #7
0
 public ProfileMetaDataSwig getDefaultProfileForComponent(
     ComponentMetaDataSwig component)
 {
     return(_object.getDefaultProfileForComponent(component));
 }
コード例 #8
0
 public PropertyMetaDataCollectionSwig getPropertiesForComponent(
     ComponentMetaDataSwig component)
 {
     return(_object.getPropertiesForComponent(component));
 }