GetEnums() public method

public GetEnums ( ) : IEnumerable
return IEnumerable
Example #1
0
        private void ReplaceEnums(XElement annotation)
        {
            foreach (Type enumType in _Types.GetEnums())
            {
                annotation.AddBeforeSelf(CreateEnumElement(enumType));
            }

            annotation.Remove();
        }