X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=csharp%2FEncodeHintType.cs;h=9060bdc9ea91b5cd5c4a89cc613b8db525c17c22;hb=10276c1fd6c1871565ad6d6c87f0249f1c0b7e5c;hp=3ee58a12d6d8b7adef001668c1a7479b06eb7ec9;hpb=e35d358134873c3f640672da7cd0c01f02253151;p=zxing.git
diff --git a/csharp/EncodeHintType.cs b/csharp/EncodeHintType.cs
index 3ee58a12..9060bdc9 100755
--- a/csharp/EncodeHintType.cs
+++ b/csharp/EncodeHintType.cs
@@ -1,4 +1,4 @@
-/*
+/*
* Copyright 2008 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,32 +13,31 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-namespace com.google.zxing.common
+using System;
+namespace com.google.zxing
{
- using System;
- using System.Text;
+
+ /// These are a set of hints that you may pass to Writers to specify their behavior.
+ ///
+ ///
+ /// dswitkin@google.com (Daniel Switkin)
+ ///
+ /// www.Redivivus.in (suraj.supekar@redivivus.in) - Ported from ZXING Java Source
+ ///
- /// A class which wraps a 2D array of bytes. The default usage is signed. If you want to use it as a
- /// unsigned container, it's up to you to do byteValue & 0xff at each location.
- /// *
- /// JAVAPORT: I'm not happy about the argument ordering throughout the file, as I always like to have
- /// the horizontal component first, but this is for compatibility with the C++ code. The original
- /// code was a 2D array of ints, but since it only ever gets assigned -1, 0, and 1, I'm going to use
- /// less memory and go with bytes.
- /// *
- ///
- /// dswitkin@google.com (Daniel Switkin)
- ///
- ///
- public sealed class EncodeHintType
- {
- /**
- * Specifies what degree of error correction to use, for example in QR Codes (type Integer).
- */
- public static EncodeHintType ERROR_CORRECTION = new EncodeHintType();
-
- private EncodeHintType() {
- }
-
- }
+ public sealed class EncodeHintType
+ {
+
+ /// Specifies what degree of error correction to use, for example in QR Codes (type Integer).
+ //UPGRADE_NOTE: Final was removed from the declaration of 'ERROR_CORRECTION '. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1003'"
+ public static readonly EncodeHintType ERROR_CORRECTION = new EncodeHintType();
+
+ /// Specifies what character encoding to use where applicable (type String)
+ //UPGRADE_NOTE: Final was removed from the declaration of 'CHARACTER_SET '. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1003'"
+ public static readonly EncodeHintType CHARACTER_SET = new EncodeHintType();
+
+ private EncodeHintType()
+ {
+ }
+ }
}
\ No newline at end of file