BO4E/BoMapper.cs
/// <summary>
///     Get a list of those strings that are known BO4E types (e.g. "Messlokation", "Energiemenge"...)
/// </summary>
/// <returns>a list of valid BO4E names; upper/lower case sensitive</returns>
Get a list of those strings that are known BO4E types
Get a list of those strings that are known BO4E types
public static HashSet<string> GetValidBoNames()
        {
            var result = new HashSet<string>();
            var types = Assembly.GetExecutingAssembly().GetTypes();
            foreach (var t in types)
            {
                var m = BoRegex.Match(t.ToString());
                if (m.Success) result.Add(m.Groups["boName"].Value);
            }
            return result;
        }
public static HashSet < string > GetValidBoNames ( ) { var result = new HashSet < string > ( ) ; var types = Assembly . GetExecutingAssembly ( ) . GetTypes ( ) ; foreach ( var t in types ) { var m = BoRegex . Match ( t . ToString ( ) ) ; if ( m . Success ) result . Add ( m . Groups [ " " ] . Value ) ; } return result ; }
Get a list of those strings that are known BO4E types (e.g.
Get a list of those strings that are known BO4E types ( e . g .
a list of valid BO4E names; upper/lower case sensitive
a list of valid BO4E names ; upper / lower case sensitive