/// <summary> /// Creates a new video. /// </summary> /// <param name="parameters">The video parameters.</param> /// <exception cref="ArgumentNullException">Thrown if <paramref name="parameters"/> is null.</exception> protected Video(VideoParameters parameters) { if (parameters == null) throw new ArgumentNullException("parameters"); this.parameters = parameters; }
/// <summary> /// Creates a new video. /// </summary> /// <param name="parameters">The video parameters.</param> /// <exception cref="ArgumentNullException">Thrown if <paramref name="parameters"/> is null.</exception> protected Video(VideoParameters parameters) { if (parameters == null) { throw new ArgumentNullException("parameters"); } this.parameters = parameters; }