Adf.Base.Validation.BusinessRuleValidationContext.CreateValidationScope C# (CSharp) Method

CreateValidationScope() public method

Creates and returns an instance of ValidationResultCollectionScope with the supplied scope name.
public CreateValidationScope ( string scopeName ) : IDisposable
scopeName string The scope name.
return IDisposable
        public IDisposable CreateValidationScope(string scopeName)
        {
            _scope.Push(new ValidationResultCollectionScope(this));
            return _scope.Peek();
        }