@@ -219,7 +219,7 @@ public sealed class FPG : IAssetFile, IEnumerable<MAP>
219219 /// </summary>
220220 public int Count => this . _registers . Count ;
221221 /// <summary>
222- /// Get a <see cref="MAP"/> instance.
222+ /// Gets a <see cref="MAP"/> instance.
223223 /// </summary>
224224 /// <param name="index">Index of the <see cref="MAP"/> in the <see cref="FPG"/>.</param>
225225 /// <returns>Returns the <see cref="MAP"/> instance.</returns>
@@ -385,7 +385,7 @@ public void Add(MAP map, string filename = "")
385385 /// Determines whether a <see cref="MAP"/> is in this instance.
386386 /// </summary>
387387 /// <param name="map">The <see cref="MAP"/> to locate in this instance.</param>
388- /// <returns>Returns true if the <see cref="MAP"/> exists.</returns>
388+ /// <returns>Returns <see langword=" true"/> if the <see cref="MAP"/> exists.</returns>
389389 public bool Contains ( MAP map )
390390 {
391391 foreach ( MAP item in this )
@@ -399,7 +399,7 @@ public bool Contains(MAP map)
399399 /// Determines whether a <see cref="MAP"/> with a graphic identifier is in this instance.
400400 /// </summary>
401401 /// <param name="graphId"><see cref="MAP"/> graphic identifier to search.</param>
402- /// <returns>Returns true if a <see cref="MAP"/> graphic identifier exists.</returns>
402+ /// <returns>Returns <see langword=" true"/> if a <see cref="MAP"/> graphic identifier exists.</returns>
403403 public bool Contains ( int graphId )
404404 {
405405 foreach ( MAP map in this )
@@ -471,7 +471,7 @@ public void Clear()
471471 }
472472
473473 /// <summary>
474- /// Gets the associate filename value for this <see cref="MAP"/> in the <see cref="FPG"/>.
474+ /// Gets the associated filename value for this <see cref="MAP"/> in the <see cref="FPG"/>.
475475 /// </summary>
476476 /// <param name="map"><see cref="MAP"/> instance to find.</param>
477477 /// <returns>Returns the <see cref="MAP"/> filename value.</returns>
@@ -485,7 +485,7 @@ public string GetFilename(MAP map)
485485 }
486486
487487 /// <summary>
488- /// Gets the associate filename value for this <see cref="MAP"/> in the <see cref="FPG"/>.
488+ /// Gets the associated filename value for this <see cref="MAP"/> in the <see cref="FPG"/>.
489489 /// </summary>
490490 /// <param name="index">The index of the <see cref="MAP"/> instance to find. Not confuse with the <see cref="MAP.GraphId"/> value.</param>
491491 /// <returns>Returns the <see cref="MAP"/> filename value.</returns>
@@ -495,40 +495,40 @@ public string GetFilename(int index)
495495 }
496496
497497 /// <summary>
498- /// Validate if the file is a valid <see cref="FPG"/> file.
498+ /// Validates if the file is a valid <see cref="FPG"/> file.
499499 /// </summary>
500500 /// <param name="filename">File to validate.</param>
501- /// <returns>Returns true if the file is a valid <see cref="FPG"/>.</returns>
501+ /// <returns>Returns <see langword=" true"/> if the file is a valid <see cref="FPG"/>.</returns>
502502 public static bool ValidateFormat ( string filename )
503503 {
504504 return VALIDATOR . Validate ( filename ) ;
505505 }
506506
507507 /// <summary>
508- /// Validate if the file is a valid <see cref="FPG"/> file.
508+ /// Validates if the file is a valid <see cref="FPG"/> file.
509509 /// </summary>
510510 /// <param name="buffer">Memory buffer that contain a <see cref="FPG"/> file data.</param>
511- /// <returns>Returns true if the file is a valid <see cref="FPG"/>.</returns>
511+ /// <returns>Returns <see langword=" true"/> if the file is a valid <see cref="FPG"/>.</returns>
512512 public static bool ValidateFormat ( byte [ ] buffer )
513513 {
514514 return VALIDATOR . Validate ( buffer ) ;
515515 }
516516
517517 /// <summary>
518- /// Validate if the file is a valid <see cref="FPG"/> file.
518+ /// Validates if the file is a valid <see cref="FPG"/> file.
519519 /// </summary>
520520 /// <param name="filename">File to validate.</param>
521- /// <returns>Returns true if the file is a valid <see cref="FPG"/>.</returns>
521+ /// <returns>Returns <see langword=" true"/> if the file is a valid <see cref="FPG"/>.</returns>
522522 public bool Validate ( string filename )
523523 {
524524 return this . Validate ( File . ReadAllBytes ( filename ) ) ;
525525 }
526526
527527 /// <summary>
528- /// Validate if the file is a valid <see cref="FPG"/> file.
528+ /// Validates if the file is a valid <see cref="FPG"/> file.
529529 /// </summary>
530530 /// <param name="buffer">Memory buffer that contain a <see cref="FPG"/> file data.</param>
531- /// <returns>Returns true if the file is a valid <see cref="FPG"/>.</returns>
531+ /// <returns>Returns <see langword=" true"/> if the file is a valid <see cref="FPG"/>.</returns>
532532 public bool Validate ( byte [ ] buffer )
533533 {
534534 return FPG_FILE_HEADER . Validate ( buffer [ 0 ..DIVFileHeader . SIZE ] ) && this . TryToReadFile ( buffer ) ;
@@ -561,7 +561,7 @@ bool TryToReadFile(byte[] buffer)
561561 }
562562
563563 /// <summary>
564- /// Serialize the <see cref="FPG"/> instance in a <see cref="byte"/> array.
564+ /// Serializes the <see cref="FPG"/> instance in a <see cref="byte"/> array.
565565 /// </summary>
566566 /// <returns>Returns the <see cref="byte"/> array with the <see cref="FPG"/> serialized data.</returns>
567567 /// <remarks>This function not include the file header data.</remarks>
@@ -578,7 +578,7 @@ public byte[] Serialize()
578578 }
579579
580580 /// <summary>
581- /// Write this instance data in a <see cref="BinaryWriter"/> instance.
581+ /// Writes this instance data in a <see cref="BinaryWriter"/> instance.
582582 /// </summary>
583583 /// <param name="stream"><see cref="BinaryWriter"/> instance.</param>
584584 public void Write ( BinaryWriter stream )
@@ -587,7 +587,7 @@ public void Write(BinaryWriter stream)
587587 }
588588
589589 /// <summary>
590- /// Save the instance in a <see cref="FPG"/> file.
590+ /// Saves the instance in a <see cref="FPG"/> file.
591591 /// </summary>
592592 /// <param name="filename">Filename to write the data.</param>
593593 public void Save ( string filename )
@@ -630,7 +630,7 @@ public override bool Equals(object obj)
630630 }
631631
632632 /// <summary>
633- /// Generate a hash code for this instance.
633+ /// Generates a hash code for this instance.
634634 /// </summary>
635635 /// <returns>Returns an <see cref="int"/> SHA256 hash code from the MD5 hash created by the binary serialized data of this instance.</returns>
636636 public override int GetHashCode ( )
0 commit comments