public bool IsUpdaterType(CslaObjectType cslaType)
        {
            if (cslaType.IsEditableRoot() ||
                cslaType.IsEditableChild() ||
                cslaType.IsDynamicEditableRoot() ||
                cslaType.IsEditableSwitchable())
            {
                return(true);
            }

            return(false);
        }
示例#2
0
        public static bool IsObjectType(this CslaObjectType cslaType)
        {
            if (cslaType.IsEditableRoot() ||
                cslaType.IsEditableChild() ||
                cslaType.IsEditableSwitchable() ||
                cslaType.IsDynamicEditableRoot() ||
                cslaType.IsReadOnlyObject())
            {
                return(true);
            }

            return(false);
        }
示例#3
0
 public static bool IsNotEditableSwitchable(this CslaObjectType cslaType)
 {
     return(!cslaType.IsEditableSwitchable());
 }