Browse Source

Add missing periods

pull/870/head
Jason Nelson 7 years ago
parent
commit
74646829de
  1. 4
      src/ImageSharp/Common/Extensions/EnumerableExtensions.cs
  2. 2
      src/ImageSharp/Formats/Bmp/BmpImageFormatDetector.cs
  3. 2
      src/ImageSharp/Formats/Gif/IGifDecoderOptions.cs
  4. 4
      src/ImageSharp/Formats/Jpeg/Components/Decoder/AdobeMarker.cs
  5. 15
      src/ImageSharp/Primitives/ValueSize.cs

4
src/ImageSharp/Common/Extensions/EnumerableExtensions.cs

@ -45,7 +45,7 @@ namespace SixLabors.ImageSharp.Common
/// The start index, inclusive.
/// </param>
/// <param name="toDelegate">
/// A method that has one parameter and returns a <see cref="bool"/> calculating the end index
/// A method that has one parameter and returns a <see cref="bool"/> calculating the end index.
/// </param>
/// <param name="step">
/// The incremental step.
@ -65,7 +65,7 @@ namespace SixLabors.ImageSharp.Common
/// The start index, inclusive.
/// </param>
/// <param name="toDelegate">
/// A method that has one parameter and returns a <see cref="bool"/> calculating the end index
/// A method that has one parameter and returns a <see cref="bool"/> calculating the end index.
/// </param>
/// <param name="step">
/// The incremental step.

2
src/ImageSharp/Formats/Bmp/BmpImageFormatDetector.cs

@ -6,7 +6,7 @@ using System;
namespace SixLabors.ImageSharp.Formats.Bmp
{
/// <summary>
/// Detects bmp file headers
/// Detects bmp file headers.
/// </summary>
public sealed class BmpImageFormatDetector : IImageFormatDetector
{

2
src/ImageSharp/Formats/Gif/IGifDecoderOptions.cs

@ -22,7 +22,7 @@ namespace SixLabors.ImageSharp.Formats.Gif
Encoding TextEncoding { get; }
/// <summary>
/// Gets the decoding mode for multi-frame images
/// Gets the decoding mode for multi-frame images.
/// </summary>
FrameDecodingMode DecodingMode { get; }
}

4
src/ImageSharp/Formats/Jpeg/Components/Decoder/AdobeMarker.cs

@ -40,7 +40,7 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder
/// <summary>
/// Gets the horizontal downsampling hint used for DCT encoding
/// 0x0 : (none - Chop)
/// Bit 15 : Encoded with Blend=1 downsampling
/// Bit 15 : Encoded with Blend=1 downsampling.
/// </summary>
public short APP14Flags0 { get; }
@ -63,7 +63,7 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder
/// Converts the specified byte array representation of an Adobe marker to its <see cref="AdobeMarker"/> equivalent and
/// returns a value that indicates whether the conversion succeeded.
/// </summary>
/// <param name="bytes">The byte array containing metadata to parse</param>
/// <param name="bytes">The byte array containing metadata to parse.</param>
/// <param name="marker">The marker to return.</param>
public static bool TryParse(byte[] bytes, out AdobeMarker marker)
{

15
src/ImageSharp/Primitives/ValueSize.cs

@ -28,22 +28,22 @@ namespace SixLabors.ImageSharp.Primitives
}
/// <summary>
/// Enumerates the different value types
/// Enumerates the different value types.
/// </summary>
public enum ValueSizeType
{
/// <summary>
/// The value is the final return value
/// The value is the final return value.
/// </summary>
Absolute,
/// <summary>
/// The value is a percentage of the image width
/// The value is a percentage of the image width.
/// </summary>
PercentageOfWidth,
/// <summary>
/// The value is a percentage of the images height
/// The value is a percentage of the images height.
/// </summary>
PercentageOfHeight
}
@ -59,7 +59,7 @@ namespace SixLabors.ImageSharp.Primitives
public ValueSizeType Type { get; }
/// <summary>
/// Implicitly converts a float into an absolute value
/// Implicitly converts a float into an absolute value.
/// </summary>
/// <param name="f">the value to use as the absolute figure.</param>
public static implicit operator ValueSize(float f)
@ -115,10 +115,7 @@ namespace SixLabors.ImageSharp.Primitives
}
/// <inheritdoc/>
public override string ToString()
{
return $"{this.Value} - {this.Type}";
}
public override string ToString() => $"{this.Value} - {this.Type}";
/// <inheritdoc/>
public override bool Equals(object obj)

Loading…
Cancel
Save