private static object GetProjectorParams(ProjectorBase projector)
 {
     return(new {
         ProjectorId = projector.ProjectorId,
         ProjectorName = projector.GetType().Name,
         LastCheckpointToken = projector.Checkpoint.Get()
     });
 }
 /// <summary>
 ///     Gets the uniqueprojectorId of a projector
 /// </summary>
 /// <param name="projector"></param>
 /// <exception cref="ArgumentException">Thrown if the attribute is mssing</exception>
 /// <returns></returns>
 public static int GetProjectorId(this ProjectorBase projector)
 {
     return(GetProjectorId(projector.GetType()));
 }