ATMLModelLibrary.model.equipment.HardwareItemDescription.HasDoument C# (CSharp) Метод

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

public HasDoument ( String guid ) : bool
guid String
Результат bool
        public bool HasDoument(String guid)
        {
            bool hasDocument = false;
            if (this.Documentation != null)
            {
                foreach (Document document in this.Documentation)
                {
                    if (document.uuid.Equals(guid))
                    {
                        hasDocument = true;
                        break;
                    }
                }
            }
            return hasDocument;
        }