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"; }
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>"); }