Пример #1
0
        protected override void ValidateRules(BrokenRules Verify)
        {
            if (!IsDeleted)
            {
                if (Verify.Count > 0)
                {
                    Verify.Clear();
                }
                return;
            }

            Verify.IsNotNull(m_taskType, "TaskTypeReq", "Task type is required", "TaskType");
            Verify.IsNotEmpty(m_displayPrompt, "DisplayPromptReq", "Display prompt is required", "DisplayPrompt");
        }