mirror of
https://github.com/soukoku/ntwain.git
synced 2025-12-01 10:54:08 +08:00
Some CA updates.
This commit is contained in:
@@ -6,7 +6,8 @@ namespace NTwain.Triplets
|
||||
/// <summary>
|
||||
/// Represents <see cref="DataArgumentType.CieColor"/>.
|
||||
/// </summary>
|
||||
public sealed class CieColor : OpBase
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Cie")]
|
||||
public sealed class CieColor : OpBase
|
||||
{
|
||||
internal CieColor(ITwainSessionInternal session) : base(session) { }
|
||||
|
||||
@@ -16,7 +17,7 @@ namespace NTwain.Triplets
|
||||
/// </summary>
|
||||
/// <param name="cieColor">Color data.</param>
|
||||
/// <returns></returns>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", MessageId = "0#")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "cie"), System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", MessageId = "0#")]
|
||||
public ReturnCode Get(out TWCieColor cieColor)
|
||||
{
|
||||
Session.VerifyState(4, 6, DataGroups.Image, DataArgumentType.CieColor, Message.Get);
|
||||
|
||||
@@ -6,7 +6,8 @@ namespace NTwain.Triplets
|
||||
/// <summary>
|
||||
/// Represents <see cref="DataArgumentType.IccProfile"/>.
|
||||
/// </summary>
|
||||
public sealed class IccProfile : OpBase
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Icc")]
|
||||
public sealed class IccProfile : OpBase
|
||||
{
|
||||
internal IccProfile(ITwainSessionInternal session) : base(session) { }
|
||||
|
||||
|
||||
@@ -6,7 +6,8 @@ namespace NTwain.Triplets
|
||||
/// <summary>
|
||||
/// Represents <see cref="DataArgumentType.RgbResponse"/>.
|
||||
/// </summary>
|
||||
public sealed class RgbResponse : OpBase
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Rgb")]
|
||||
public sealed class RgbResponse : OpBase
|
||||
{
|
||||
internal RgbResponse(ITwainSessionInternal session) : base(session) { }
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ namespace NTwain.Triplets
|
||||
/// <summary>
|
||||
/// Gets the operations defined for DAT_CIECOLOR.
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Cie")]
|
||||
public CieColor CieColor
|
||||
{
|
||||
get
|
||||
@@ -73,6 +74,7 @@ namespace NTwain.Triplets
|
||||
/// <summary>
|
||||
/// Gets the operations defined for DAT_ICCPROFILE.
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Icc")]
|
||||
public IccProfile IccProfile
|
||||
{
|
||||
get
|
||||
@@ -175,6 +177,7 @@ namespace NTwain.Triplets
|
||||
/// <summary>
|
||||
/// Gets the operations defined for DAT_RGBRESPONSE.
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Rgb")]
|
||||
public RgbResponse RgbResponse
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user