12345678910111213141516171819202122232425262728293031323334353637 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace SuperSocket.Common
- {
- /// <summary>
- /// SearchMarkState
- /// </summary>
- /// <typeparam name="T"></typeparam>
- public class SearchMarkState<T>
- where T : IEquatable<T>
- {
- /// <summary>
- /// Initializes a new instance of the <see cref="SearchMarkState<T>"/> class.
- /// </summary>
- /// <param name="mark">The mark.</param>
- public SearchMarkState(T[] mark)
- {
- Mark = mark;
- }
- /// <summary>
- /// Gets the mark.
- /// </summary>
- public T[] Mark { get; private set; }
- /// <summary>
- /// Gets or sets whether matched already.
- /// </summary>
- /// <value>
- /// The matched.
- /// </value>
- public int Matched { get; set; }
- }
- }
|