private AsyncSendData(AsyncDataHandler handler, Uri uriToUse, AtomEntry entry, AtomFeed feed, SendOrPostCallback callback, object userData, bool parseFeed) : base(uriToUse, null, userData, callback, parseFeed) { this.DataHandler = handler; this.entry = entry; this.Feed = feed; }
public AsyncSendData(AsyncDataHandler handler, Uri uriToUse, Stream stream, GDataRequestType type, string contentType, string slugHeader, SendOrPostCallback callback, object userData, bool parseFeed) : this(handler, uriToUse, null, null, callback, userData, parseFeed) { this.DataStream = stream; this.type = type; this.contentType = contentType; this.slugHeader = slugHeader; }
public AsyncResumableUploadData(AsyncDataHandler handler, Authenticator authenticator, AbstractEntry payload, string httpMethod, SendOrPostCallback callback, object userData) : base(null, null, userData, callback) { this.DataHandler = handler; this.authenticator = authenticator; this.entry = payload; this.HttpVerb = httpMethod; }
public AsyncResumableUploadData(AsyncDataHandler handler, Authenticator authenticator, Uri uriToUse, Stream payload, string contentType, string slug, string httpMethod, SendOrPostCallback callback, object userData) : base(uriToUse, null, userData, callback) { this.DataHandler = handler; this.authenticator = authenticator; this.contentType = contentType; this.DataStream = payload; this.slug = slug; this.HttpVerb = httpMethod; }
/// <summary> /// Initializes a new instance of the <see cref="EyeXEngineStateAccessor{T}"/> class. /// </summary> /// <param name="statePath">The state path.</param> public EyeXEngineStateAccessor(string statePath) { _statePath = statePath; _handler = OnStateChanged; }
/// <summary> /// Starts the guest calibration tool. /// </summary> public void LaunchGuestCalibration(AsyncDataHandler completionHandler) { EnsureStarted(); _context.LaunchConfigurationTool(ConfigurationTool.GuestCalibration, completionHandler); //_context.LaunchConfigurationTool((ConfigurationTool)10000005, data => { }); }
public AsyncSendData(AsyncDataHandler handler, Uri uriToUse, AtomFeed feed, SendOrPostCallback callback, object userData) : this(handler, uriToUse, null, feed, callback, userData, false) { }
public AsyncSendData(AsyncDataHandler handler, AtomEntry entry, SendOrPostCallback callback, object userData) : this(handler, null, entry, null, callback, userData, false) { }