CloudinaryDotNet.Actions.DelResParams.Check C# (CSharp) Метод

Check() публичный Метод

Validate object model
public Check ( ) : void
Результат void
        public override void Check()
        {
            if ((PublicIds == null || PublicIds.Count == 0) &&
                String.IsNullOrEmpty(Prefix) &&
                String.IsNullOrEmpty(Tag) &&
                !All)
            {
                throw new ArgumentException("Either PublicIds or Prefix or Tag must be specified!");
            }

            if (!String.IsNullOrEmpty(Tag) && !String.IsNullOrEmpty(Type))
                throw new ArgumentException("Type of resource cannot specified when tag is given!");
        }