Progress
This commit is contained in:
@ -35,26 +35,6 @@ namespace Aurora.Backend.Client.Party
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override void Next()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override void Pause()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override void Play()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override void Previous()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override void RemoveFromQueue()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
@ -64,10 +44,5 @@ namespace Aurora.Backend.Client.Party
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override void Stop()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
@ -10,6 +10,8 @@ namespace Aurora.Backend.Executors
|
||||
{
|
||||
}
|
||||
|
||||
public ExecutorType ExecutorType { get; protected set; }
|
||||
|
||||
public static BaseExecutor CreateExecutor<T>(ExecutorType executorType) where T : BaseExecutor
|
||||
{
|
||||
MethodInfo method = typeof(T).GetMethod("Create");
|
||||
@ -19,14 +21,6 @@ namespace Aurora.Backend.Executors
|
||||
}
|
||||
|
||||
return method.Invoke(null, new object[] { executorType }) as BaseExecutor;
|
||||
|
||||
// var types = typeof(T).Assembly.GetTypes();
|
||||
|
||||
// foreach (Type type in types)
|
||||
// {
|
||||
// MethodInfo genericMethod = method.MakeGenericMethod(type);
|
||||
// genericMethod.Invoke(null, null); // No target, no arguments
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -19,11 +19,13 @@ namespace Aurora.Backend.Executors
|
||||
case ExecutorType.Client:
|
||||
{
|
||||
executor = new ClientPartyExecutor();
|
||||
executor.ExecutorType = type;
|
||||
break;
|
||||
}
|
||||
case ExecutorType.Server:
|
||||
{
|
||||
executor = new HostPartyExecutor();
|
||||
executor.ExecutorType = type;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -45,14 +47,5 @@ namespace Aurora.Backend.Executors
|
||||
|
||||
public abstract void RemoveFromQueue();
|
||||
|
||||
public abstract void Play();
|
||||
|
||||
public abstract void Pause();
|
||||
|
||||
public abstract void Stop();
|
||||
|
||||
public abstract void Next();
|
||||
|
||||
public abstract void Previous();
|
||||
}
|
||||
}
|
@ -39,26 +39,6 @@ namespace Aurora.Backend.Server.Party
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override void Next()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override void Pause()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override void Play()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override void Previous()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override void RemoveFromQueue()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
@ -68,10 +48,5 @@ namespace Aurora.Backend.Server.Party
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override void Stop()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user