Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SerializeMatchResult"/> class.
 /// </summary>
 /// <param name="match">The match to serialize.</param>
 /// <param name="fileName">The file name to serialize to.</param>
 /// <param name="serializer">The serializer to use.</param>
 public SerializeMatchResult(Match match, string fileName, IMatchSerializer serializer)
 {
     this.Match      = match;
     this.Serializer = serializer;
     this.FileName   = fileName;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DeserializeMatchResult"/> class.
 /// </summary>
 /// <param name="fileName">The file name to deserialize from.</param>
 /// <param name="serializer">The serializer to use.</param>
 public DeserializeMatchResult(string fileName, IMatchSerializer serializer)
 {
     this.FileName   = fileName;
     this.Serializer = serializer;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Format"/> class.
 /// </summary>
 /// <param name="serializer">The serializer for this format.</param>
 /// <param name="description">A description of the format.</param>
 /// <param name="extension">The file extension of the format.</param>
 public Format(IMatchSerializer serializer, string description, string extension)
 {
     this.Serializer  = serializer;
     this.Description = description;
     this.Extension   = extension;
 }