/// <summary>Create <see cref="QueryBranchesParameters"/>.</summary> /// <param name="restriction">Restriction on types of branches to return.</param> /// <param name="mode">Relation between returned branches and specified <see cref="M:Revision"/> (HEAD if not specified).</param> /// <summary>Revision to check according to <see cref="M:Mode"/>.</summary> public QueryBranchesParameters(QueryBranchRestriction restriction, BranchQueryMode mode, string revision) { Restriction = restriction; Mode = mode; Revision = revision; }
/// <summary>Create <see cref="QueryBranchesParameters"/>.</summary> /// <param name="restriction">Restriction on types of branches to return.</param> /// <param name="mode">Relation between returned branches and specified <see cref="M:Revision"/> (HEAD if not specified).</param> public QueryBranchesParameters(QueryBranchRestriction restriction, BranchQueryMode mode) { Restriction = restriction; Mode = mode; }