This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace App.Data.Migrations | |
{ | |
internal sealed class Configuration : DbMigrationsConfiguration<DataContext> | |
{ | |
public Configuration() | |
{ | |
AutomaticMigrationsEnabled = false; | |
SetSqlGenerator("System.Data.SqlClient", new CustomSqlServerMigrationSqlGenerator()); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SubtitleTools{ | |
string _filePath = string.Empty; | |
public PersianSubtitle(string filePath){ | |
if (Path.GetExtension(filePath) != ".srt"){ | |
Console.WriteLine("Unknown file type!"); | |
} | |
} | |
public void ToPersian(){ |
NewerOlder