public static StylesheetParser FromFile(string file)
        {
            var stylesheetParser = new StylesheetParser();

            TextReader textReader = new StreamReader(file);
            stylesheetParser._styleSheetContent = textReader.ReadToEnd();
            textReader.Close();

            return stylesheetParser;
        }
 public static StylesheetParser FromContent(string content)
 {
     var stylesheetParser = new StylesheetParser { _styleSheetContent = content };
     return stylesheetParser;
 }