public AsyncTranslationComplete(IAsyncTranslationPayload translationAsync, Action<IAsyncTranslationPayload,IEnumerable<ITranslation>> onTranslationComplete) { if (translationAsync == null) { throw new ArgumentNullException("translationAsync"); } if (onTranslationComplete == null) { throw new ArgumentNullException("onTranslationComplete"); } this.TranslationAsync = translationAsync; this.OnTranslationComplete = onTranslationComplete; }
public AsyncTranslationComplete(IAsyncTranslationPayload translationAsync, Action <IAsyncTranslationPayload, IEnumerable <ITranslation> > onTranslationComplete) { if (translationAsync == null) { throw new ArgumentNullException("translationAsync"); } if (onTranslationComplete == null) { throw new ArgumentNullException("onTranslationComplete"); } this.TranslationAsync = translationAsync; this.OnTranslationComplete = onTranslationComplete; }