internal ProfileMetaData(
     DeviceDetectionHashEngine engine,
     ProfileMetaDataSwig source)
 {
     _source = source;
     _engine = engine;
 }
        public ProfileMetaDataSwig getByIndex(uint index)
        {
            global::System.IntPtr cPtr = DeviceDetectionHashEngineModulePINVOKE.ProfileMetaDataCollectionSwig_getByIndex(swigCPtr, index);
            ProfileMetaDataSwig   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ProfileMetaDataSwig(cPtr, true);

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

            if (DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Pending)
            {
                throw DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public ComponentMetaDataSwig getComponentForProfile(ProfileMetaDataSwig profile)
        {
            global::System.IntPtr cPtr = DeviceDetectionHashEngineModulePINVOKE.MetaDataSwig_getComponentForProfile(swigCPtr, ProfileMetaDataSwig.getCPtr(profile));
            ComponentMetaDataSwig ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ComponentMetaDataSwig(cPtr, true);

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