Mono.Moma.Populate.LoadWpfExclusions C# (CSharp) Méthode

LoadWpfExclusions() static private méthode

static private LoadWpfExclusions ( ) : bool
Résultat bool
        static bool LoadWpfExclusions()
        {
            bool loaded = false;
            try {
                using (StreamReader reader = new StreamReader ("wpf-exclusions.txt")) {
                    string line;
                    while ((line = reader.ReadLine ()) != null)
                        wpftypes.Add (line, line);
                }
                loaded = true;
            } catch (Exception exc) {
                Console.Error.WriteLine ("Error loading WPF exclusions file: {0}", exc.Message);
            }
            return loaded;
        }