コード例 #1
0
        public static bool HasFlag(this Provider.Feature value, Provider.Feature flags)
        {
            uint a = System.Convert.ToUInt32(value);
            uint b = System.Convert.ToUInt32(flags);

            return((a & b) == b);
        }
 public bool SupportedFeature(Provider.Feature feature)
 {
     return(m_Subsystem != null?m_Subsystem.Capabilities.HasFlag(feature) : false);
 }