private void AddProgress() { if (ProgressObject != null) { var progressObjectType = ProgressObject.GetType().GenericTypeArguments.First().UnderlyingSystemType; StandardProgressImpl(progressObjectType); OutputProgressImpl(progressObjectType); } }