Пример #1
0
        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());
 }