Exemple #1
0
 public EntityParser(FacebookExportDbContext dbContext, string filePath, EntityParserSettings settings)
 {
     DbContext           = dbContext;
     FilePath            = filePath;
     CultureInfoProvider = CultureInfo.InvariantCulture;
     Settings            = settings;
 }
 public FriendsParser(FacebookExportDbContext dbContext, string filePath, EntityParserSettings settings) : base(dbContext, filePath, settings)
 {
     FriendRegex = new Regex(".* ((.*))");
     DateFormat  = "MMM d, yyyy";
 }
Exemple #3
0
 public TimelinePostParser(FacebookExportDbContext dbContext, string filePath, EntityParserSettings settings) : base(dbContext, filePath, settings)
 {
     DateFormat      = "dddd, MMMM d, yyyy a\\t h:mmtt";
     Friends         = dbContext.Friend.ToList();
     FriendNameRegex = new Regex("(.*)<br>");
 }