Exemple #1
0
 public virtual void setAccessSpecifier(IProperty.AccessSpecifier iotype)
 {
     xpcf_propertiesPINVOKE.IProperty_setAccessSpecifier(swigCPtr, (int)iotype);
     if (xpcf_propertiesPINVOKE.SWIGPendingException.Pending)
     {
         throw xpcf_propertiesPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public virtual IProperty.AccessSpecifier getAccessSpecifier()
 {
     IProperty.AccessSpecifier ret = (IProperty.AccessSpecifier)xpcf_propertiesPINVOKE.IProperty_getAccessSpecifier(swigCPtr);
     if (xpcf_propertiesPINVOKE.SWIGPendingException.Pending)
     {
         throw xpcf_propertiesPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }
Exemple #3
0
        public virtual XPCFErrorCode setProperties(string name, uint numberOfValues, IProperty.AccessSpecifier iotype)
        {
            XPCFErrorCode ret = (XPCFErrorCode)xpcf_propertiesPINVOKE.IProperty_setProperties__SWIG_0(swigCPtr, name, numberOfValues, (int)iotype);

            if (xpcf_propertiesPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_propertiesPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public static bool CanRead(this IProperty.AccessSpecifier specifier)
 {
     return(specifier != IProperty.AccessSpecifier.IProperty_OUT);
 }
 public static bool CanWrite(this IProperty.AccessSpecifier specifier)
 {
     return(specifier != IProperty.AccessSpecifier.IProperty_IN);
 }