protected override void sendOperation(HttpOperation operation, params string[] parameters) { RequestQueueAttribute[] array = (RequestQueueAttribute[])operation.GetType().GetCustomAttributes(typeof(RequestQueueAttribute), inherit: true); if (array.Length == 0) { base.sendOperation(operation, parameters); return; } QueuedOperation pending = new QueuedOperation(operation, parameters, array); addToQueue(pending); processQueue(pending); }
private bool requiresAuthentication(HttpOperation operation) { return(operation.GetType().IsDefined(typeof(HttpBasicAuthorizationAttribute), inherit: false)); }
private bool requiresEncryption(HttpOperation operation) { return(operation.GetType().IsDefined(typeof(EncryptedAttribute), inherit: false)); }