Ejemplo n.º 1
0
        public override ErrorList Validate()
        {
            var result = new ErrorList();

            result.AddRange(base.Validate());

            if (Type != null)
            {
                result.AddRange(Type.Validate());
            }
            if (ManufacturerElement != null)
            {
                result.AddRange(ManufacturerElement.Validate());
            }
            if (ModelElement != null)
            {
                result.AddRange(ModelElement.Validate());
            }
            if (VersionElement != null)
            {
                result.AddRange(VersionElement.Validate());
            }
            if (ExpiryElement != null)
            {
                result.AddRange(ExpiryElement.Validate());
            }
            if (Identity != null)
            {
                result.AddRange(Identity.Validate());
            }
            if (Owner != null)
            {
                result.AddRange(Owner.Validate());
            }
            if (AssignedId != null)
            {
                AssignedId.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Location != null)
            {
                result.AddRange(Location.Validate());
            }
            if (Patient != null)
            {
                result.AddRange(Patient.Validate());
            }
            if (Contact != null)
            {
                Contact.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (UrlElement != null)
            {
                result.AddRange(UrlElement.Validate());
            }

            return(result);
        }
Ejemplo n.º 2
0
        public override ErrorList Validate()
        {
            var result = new ErrorList();

            result.AddRange(base.Validate());

            if (UrlElement != null)
            {
                result.AddRange(UrlElement.Validate());
            }
            if (IsModifierElement != null)
            {
                result.AddRange(IsModifierElement.Validate());
            }
            if (Value != null)
            {
                result.AddRange(Value.Validate());
            }

            return(result);
        }
Ejemplo n.º 3
0
        public override ErrorList Validate()
        {
            var result = new ErrorList();

            result.AddRange(base.Validate());

            if (ContentTypeElement != null)
            {
                result.AddRange(ContentTypeElement.Validate());
            }
            if (LanguageElement != null)
            {
                result.AddRange(LanguageElement.Validate());
            }
            if (DataElement != null)
            {
                result.AddRange(DataElement.Validate());
            }
            if (UrlElement != null)
            {
                result.AddRange(UrlElement.Validate());
            }
            if (SizeElement != null)
            {
                result.AddRange(SizeElement.Validate());
            }
            if (HashElement != null)
            {
                result.AddRange(HashElement.Validate());
            }
            if (TitleElement != null)
            {
                result.AddRange(TitleElement.Validate());
            }

            return(result);
        }