/////////////////////////////////////////////////////////////////////// #region Static "Factory" Methods public static AsynchronousBridge Create( IAsynchronousCallback callback, ref Result error ) { if (callback == null) { error = "invalid asynchronous callback"; return(null); } return(new AsynchronousBridge(callback)); }
/////////////////////////////////////////////////////////////////////// #region Private Constructors private AsynchronousBridge( IAsynchronousCallback callback ) { this.callback = callback; }