public CloudPrintProxy(IPrintJobProcessor printjobprocessor, Action<CloudPrintProxy> operationCancelledCallback)
{
if (printjobprocessor == null)
{
throw new ArgumentNullException("printjobprocessor");
}
OAuthTicketLock = new object();
_PrintJobs = new ConcurrentDictionary<string,CloudPrintJob>();
_Queues = new List<CloudPrinter>();
OperationCancelled = operationCancelledCallback;
PrintJobsLastUpdated = DateTime.MinValue;
PrintJobProcessor = printjobprocessor;
UpdateLock = new object();
}