BimlGen.BimlService.GetAnnotations C# (CSharp) Метод

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

public GetAnnotations ( ExtendedPropertyCollection props ) : List
props ExtendedPropertyCollection
Результат List
        public List<Annotation> GetAnnotations( ExtendedPropertyCollection props )
        {
            var list = new List<Annotation>();
            foreach (ExtendedProperty prop in props)
            {
                list.Add( new Annotation
                    {
                        AnnotationType = "Tag",
                        Tag = prop.Name,
                        Value = prop.Value.ToString()
                    } );
            }
            return list;
        }