namespace HandBrake.Server
{
using System;
using System.Linq;
using HandBrake.ApplicationServices.Services;
using HandBrake.ApplicationServices.Services.Interfaces;
///
/// The HandBrake Service
///
class Program
{
///
/// The main.
///
///
/// The args.
///
static void Main(string[] args)
{
if (args.Count() != 1)
{
//Console.WriteLine("Invalid Arguments");
//Console.ReadLine();
IServerService server = new ServerService();
server.Start("8001");
}
else
{
IServerService server = new ServerService();
server.Start(args[0]);
}
}
}
}