diff --git a/shangjian/.vs/BL/FileContentIndex/4f6c7661-5fe3-45f3-86e5-6729c4432f3b.vsidx b/shangjian/.vs/BL/FileContentIndex/4f6c7661-5fe3-45f3-86e5-6729c4432f3b.vsidx new file mode 100644 index 0000000..35ead97 Binary files /dev/null and b/shangjian/.vs/BL/FileContentIndex/4f6c7661-5fe3-45f3-86e5-6729c4432f3b.vsidx differ diff --git a/shangjian/.vs/BL/FileContentIndex/86cd34fb-ca70-46bc-9c85-db3213ab3c55.vsidx b/shangjian/.vs/BL/FileContentIndex/86cd34fb-ca70-46bc-9c85-db3213ab3c55.vsidx deleted file mode 100644 index 5041f69..0000000 Binary files a/shangjian/.vs/BL/FileContentIndex/86cd34fb-ca70-46bc-9c85-db3213ab3c55.vsidx and /dev/null differ diff --git a/shangjian/.vs/BL/FileContentIndex/b859bff4-0c49-400b-b0dd-32ff2354207f.vsidx b/shangjian/.vs/BL/FileContentIndex/b859bff4-0c49-400b-b0dd-32ff2354207f.vsidx new file mode 100644 index 0000000..e2040f5 Binary files /dev/null and b/shangjian/.vs/BL/FileContentIndex/b859bff4-0c49-400b-b0dd-32ff2354207f.vsidx differ diff --git a/shangjian/.vs/BL/FileContentIndex/c9597b4e-a9f8-4919-bbdb-93b36474c4f6.vsidx b/shangjian/.vs/BL/FileContentIndex/c9597b4e-a9f8-4919-bbdb-93b36474c4f6.vsidx deleted file mode 100644 index da14582..0000000 Binary files a/shangjian/.vs/BL/FileContentIndex/c9597b4e-a9f8-4919-bbdb-93b36474c4f6.vsidx and /dev/null differ diff --git a/shangjian/.vs/BL/FileContentIndex/e04d52f4-328e-4367-9d83-e909c18ad498.vsidx b/shangjian/.vs/BL/FileContentIndex/e04d52f4-328e-4367-9d83-e909c18ad498.vsidx new file mode 100644 index 0000000..bf67a8f Binary files /dev/null and b/shangjian/.vs/BL/FileContentIndex/e04d52f4-328e-4367-9d83-e909c18ad498.vsidx differ diff --git a/shangjian/.vs/BL/FileContentIndex/fc6fd568-5067-4410-a207-98d9c4294eae.vsidx b/shangjian/.vs/BL/FileContentIndex/fc6fd568-5067-4410-a207-98d9c4294eae.vsidx deleted file mode 100644 index fe48f99..0000000 Binary files a/shangjian/.vs/BL/FileContentIndex/fc6fd568-5067-4410-a207-98d9c4294eae.vsidx and /dev/null differ diff --git a/shangjian/.vs/BL/v17/.suo b/shangjian/.vs/BL/v17/.suo index 37c2d4b..bb4f40b 100644 Binary files a/shangjian/.vs/BL/v17/.suo and b/shangjian/.vs/BL/v17/.suo differ diff --git a/shangjian/CentralControl/bin/Debug/CentralControl.exe b/shangjian/CentralControl/bin/Debug/CentralControl.exe index 21cb73a..3e9e5be 100644 Binary files a/shangjian/CentralControl/bin/Debug/CentralControl.exe and b/shangjian/CentralControl/bin/Debug/CentralControl.exe differ diff --git a/shangjian/CentralControl/bin/Debug/CentralControl.pdb b/shangjian/CentralControl/bin/Debug/CentralControl.pdb index 1071ca1..5468450 100644 Binary files a/shangjian/CentralControl/bin/Debug/CentralControl.pdb and b/shangjian/CentralControl/bin/Debug/CentralControl.pdb differ diff --git a/shangjian/CentralControl/bin/Debug/CommonFunc.dll b/shangjian/CentralControl/bin/Debug/CommonFunc.dll index d37205d..494839d 100644 Binary files a/shangjian/CentralControl/bin/Debug/CommonFunc.dll and b/shangjian/CentralControl/bin/Debug/CommonFunc.dll differ diff --git a/shangjian/CentralControl/bin/Debug/CommonFunc.pdb b/shangjian/CentralControl/bin/Debug/CommonFunc.pdb index ba39ac5..c0dc4ed 100644 Binary files a/shangjian/CentralControl/bin/Debug/CommonFunc.pdb and b/shangjian/CentralControl/bin/Debug/CommonFunc.pdb differ diff --git a/shangjian/CentralControl/bin/Debug/XGL.Data.dll b/shangjian/CentralControl/bin/Debug/XGL.Data.dll index feb0db6..cf48c4f 100644 Binary files a/shangjian/CentralControl/bin/Debug/XGL.Data.dll and b/shangjian/CentralControl/bin/Debug/XGL.Data.dll differ diff --git a/shangjian/CentralControl/bin/Debug/XGL.Data.pdb b/shangjian/CentralControl/bin/Debug/XGL.Data.pdb index 1182e01..409447b 100644 Binary files a/shangjian/CentralControl/bin/Debug/XGL.Data.pdb and b/shangjian/CentralControl/bin/Debug/XGL.Data.pdb differ diff --git a/shangjian/CentralControl/bin/Debug/XGL.Models.dll b/shangjian/CentralControl/bin/Debug/XGL.Models.dll index d0e9bbe..0a26920 100644 Binary files a/shangjian/CentralControl/bin/Debug/XGL.Models.dll and b/shangjian/CentralControl/bin/Debug/XGL.Models.dll differ diff --git a/shangjian/CentralControl/bin/Debug/XGL.Models.pdb b/shangjian/CentralControl/bin/Debug/XGL.Models.pdb index 4e7b96e..1785bad 100644 Binary files a/shangjian/CentralControl/bin/Debug/XGL.Models.pdb and b/shangjian/CentralControl/bin/Debug/XGL.Models.pdb differ diff --git a/shangjian/CentralControl/obj/Debug/CentralControl.csproj.AssemblyReference.cache b/shangjian/CentralControl/obj/Debug/CentralControl.csproj.AssemblyReference.cache index b4efedc..0d18dc3 100644 Binary files a/shangjian/CentralControl/obj/Debug/CentralControl.csproj.AssemblyReference.cache and b/shangjian/CentralControl/obj/Debug/CentralControl.csproj.AssemblyReference.cache differ diff --git a/shangjian/CentralControl/obj/Debug/CentralControl.exe b/shangjian/CentralControl/obj/Debug/CentralControl.exe index 21cb73a..3e9e5be 100644 Binary files a/shangjian/CentralControl/obj/Debug/CentralControl.exe and b/shangjian/CentralControl/obj/Debug/CentralControl.exe differ diff --git a/shangjian/CentralControl/obj/Debug/CentralControl.pdb b/shangjian/CentralControl/obj/Debug/CentralControl.pdb index 1071ca1..5468450 100644 Binary files a/shangjian/CentralControl/obj/Debug/CentralControl.pdb and b/shangjian/CentralControl/obj/Debug/CentralControl.pdb differ diff --git a/shangjian/CommonFunc/CommonFunc.csproj b/shangjian/CommonFunc/CommonFunc.csproj index d5eb40d..fc9087b 100644 --- a/shangjian/CommonFunc/CommonFunc.csproj +++ b/shangjian/CommonFunc/CommonFunc.csproj @@ -152,6 +152,7 @@ + @@ -179,6 +180,9 @@ MSBuild:Compile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/shangjian/CommonFunc/bin/x86/Debug/Google.Protobuf.dll b/shangjian/CommonFunc/bin/x86/Debug/Google.Protobuf.dll new file mode 100644 index 0000000..6ea720d Binary files /dev/null and b/shangjian/CommonFunc/bin/x86/Debug/Google.Protobuf.dll differ diff --git a/shangjian/CommonFunc/bin/x86/Debug/Google.Protobuf.xml b/shangjian/CommonFunc/bin/x86/Debug/Google.Protobuf.xml new file mode 100644 index 0000000..ebbf629 --- /dev/null +++ b/shangjian/CommonFunc/bin/x86/Debug/Google.Protobuf.xml @@ -0,0 +1,7470 @@ + + + + Google.Protobuf + + + + + Provides a utility routine to copy small arrays much more quickly than Buffer.BlockCopy + + + + + The threshold above which you should use Buffer.BlockCopy rather than ByteArray.Copy + + + + + Determines which copy routine to use based on the number of bytes to be copied. + + + + + Reverses the order of bytes in the array + + + + + Immutable array of bytes. + + + + + Unsafe operations that can cause IO Failure and/or other catestrophic side-effects. + + + + + Constructs a new ByteString from the given byte array. The array is + *not* copied, and must not be modified after this constructor is called. + + + + + Provides direct, unrestricted access to the bytes contained in this instance. + You must not modify or resize the byte array returned by this method. + + + + + Internal use only. Ensure that the provided array is not mutated and belongs to this instance. + + + + + Constructs a new ByteString from the given byte array. The array is + *not* copied, and must not be modified after this constructor is called. + + + + + Returns an empty ByteString. + + + + + Returns the length of this ByteString in bytes. + + + + + Returns true if this byte string is empty, false otherwise. + + + + + Converts this into a byte array. + + The data is copied - changes to the returned array will not be reflected in this ByteString. + A byte array with the same data as this ByteString. + + + + Converts this into a standard base64 representation. + + A base64 representation of this ByteString. + + + + Constructs a from the Base64 Encoded String. + + + + + Constructs a from data in the given stream, synchronously. + + If successful, will be read completely, from the position + at the start of the call. + The stream to copy into a ByteString. + A ByteString with content read from the given stream. + + + + Constructs a from data in the given stream, asynchronously. + + If successful, will be read completely, from the position + at the start of the call. + The stream to copy into a ByteString. + The cancellation token to use when reading from the stream, if any. + A ByteString with content read from the given stream. + + + + Constructs a from the given array. The contents + are copied, so further modifications to the array will not + be reflected in the returned ByteString. + This method can also be invoked in ByteString.CopyFrom(0xaa, 0xbb, ...) form + which is primarily useful for testing. + + + + + Constructs a from a portion of a byte array. + + + + + Creates a new by encoding the specified text with + the given encoding. + + + + + Creates a new by encoding the specified text in UTF-8. + + + + + Retuns the byte at the given index. + + + + + Converts this into a string by applying the given encoding. + + + This method should only be used to convert binary data which was the result of encoding + text with the given encoding. + + The encoding to use to decode the binary data into text. + The result of decoding the binary data with the given decoding. + + + + Converts this into a string by applying the UTF-8 encoding. + + + This method should only be used to convert binary data which was the result of encoding + text with UTF-8. + + The result of decoding the binary data with the given decoding. + + + + Returns an iterator over the bytes in this . + + An iterator over the bytes in this object. + + + + Returns an iterator over the bytes in this . + + An iterator over the bytes in this object. + + + + Creates a CodedInputStream from this ByteString's data. + + + + + Compares two byte strings for equality. + + The first byte string to compare. + The second byte string to compare. + true if the byte strings are equal; false otherwise. + + + + Compares two byte strings for inequality. + + The first byte string to compare. + The second byte string to compare. + false if the byte strings are equal; true otherwise. + + + + Compares this byte string with another object. + + The object to compare this with. + true if refers to an equal ; false otherwise. + + + + Returns a hash code for this object. Two equal byte strings + will return the same hash code. + + A hash code for this object. + + + + Compares this byte string with another. + + The to compare this with. + true if refers to an equal byte string; false otherwise. + + + + Used internally by CodedOutputStream to avoid creating a copy for the write + + + + + Copies the entire byte array to the destination array provided at the offset specified. + + + + + Writes the entire byte array to the provided stream + + + + + Reads and decodes protocol message fields. + + + + This class is generally used by generated code to read appropriate + primitives from the stream. It effectively encapsulates the lowest + levels of protocol buffer format. + + + Repeated fields and map fields are not handled by this class; use + and to serialize such fields. + + + + + + Whether to leave the underlying stream open when disposing of this stream. + This is always true when there's no stream. + + + + + Buffer of data read from the stream or provided at construction time. + + + + + The index of the buffer at which we need to refill from the stream (if there is one). + + + + + The position within the current buffer (i.e. the next byte to read) + + + + + The stream to read further input from, or null if the byte array buffer was provided + directly on construction, with no further data available. + + + + + The last tag we read. 0 indicates we've read to the end of the stream + (or haven't read anything yet). + + + + + The next tag, used to store the value read by PeekTag. + + + + + The total number of bytes read before the current buffer. The + total bytes read up to the current position can be computed as + totalBytesRetired + bufferPos. + + + + + The absolute position of the end of the current message. + + + + + Creates a new CodedInputStream reading data from the given byte array. + + + + + Creates a new that reads from the given byte array slice. + + + + + Creates a new reading data from the given stream, which will be disposed + when the returned object is disposed. + + The stream to read from. + + + + Creates a new reading data from the given stream. + + The stream to read from. + true to leave open when the returned + is disposed; false to dispose of the given stream when the + returned object is disposed. + + + + Creates a new CodedInputStream reading data from the given + stream and buffer, using the default limits. + + + + + Creates a new CodedInputStream reading data from the given + stream and buffer, using the specified limits. + + + This chains to the version with the default limits instead of vice versa to avoid + having to check that the default values are valid every time. + + + + + Creates a with the specified size and recursion limits, reading + from an input stream. + + + This method exists separately from the constructor to reduce the number of constructor overloads. + It is likely to be used considerably less frequently than the constructors, as the default limits + are suitable for most use cases. + + The input stream to read from + The total limit of data to read from the stream. + The maximum recursion depth to allow while reading. + A CodedInputStream reading from with the specified size + and recursion limits. + + + + Returns the current position in the input stream, or the position in the input buffer + + + + + Returns the last tag read, or 0 if no tags have been read or we've read beyond + the end of the stream. + + + + + Returns the size limit for this stream. + + + This limit is applied when reading from the underlying stream, as a sanity check. It is + not applied when reading from a byte array data source without an underlying stream. + The default value is 64MB. + + + The size limit. + + + + + Returns the recursion limit for this stream. This limit is applied whilst reading messages, + to avoid maliciously-recursive data. + + + The default limit is 64. + + + The recursion limit for this stream. + + + + + Disposes of this instance, potentially closing any underlying stream. + + + As there is no flushing to perform here, disposing of a which + was constructed with the leaveOpen option parameter set to true (or one which + was constructed to read from a byte array) has no effect. + + + + + Verifies that the last call to ReadTag() returned tag 0 - in other words, + we've reached the end of the stream when we expected to. + + The + tag read was not the one specified + + + + Peeks at the next field tag. This is like calling , but the + tag is not consumed. (So a subsequent call to will return the + same value.) + + + + + Reads a field tag, returning the tag of 0 for "end of stream". + + + If this method returns 0, it doesn't necessarily mean the end of all + the data in this CodedInputStream; it may be the end of the logical stream + for an embedded message, for example. + + The next field tag, or 0 for end of stream. (0 is never a valid tag.) + + + + Skips the data for the field with the tag we've just read. + This should be called directly after , when + the caller wishes to skip an unknown field. + + + This method throws if the last-read tag was an end-group tag. + If a caller wishes to skip a group, they should skip the whole group, by calling this method after reading the + start-group tag. This behavior allows callers to call this method on any field they don't understand, correctly + resulting in an error if an end-group tag has not been paired with an earlier start-group tag. + + The last tag was an end-group tag + The last read operation read to the end of the logical stream + + + + Skip a group. + + + + + Reads a double field from the stream. + + + + + Reads a float field from the stream. + + + + + Reads a uint64 field from the stream. + + + + + Reads an int64 field from the stream. + + + + + Reads an int32 field from the stream. + + + + + Reads a fixed64 field from the stream. + + + + + Reads a fixed32 field from the stream. + + + + + Reads a bool field from the stream. + + + + + Reads a string field from the stream. + + + + + Reads an embedded message field value from the stream. + + + + + Reads a bytes field value from the stream. + + + + + Reads a uint32 field value from the stream. + + + + + Reads an enum field value from the stream. + + + + + Reads an sfixed32 field value from the stream. + + + + + Reads an sfixed64 field value from the stream. + + + + + Reads an sint32 field value from the stream. + + + + + Reads an sint64 field value from the stream. + + + + + Reads a length for length-delimited data. + + + This is internally just reading a varint, but this method exists + to make the calling code clearer. + + + + + Peeks at the next tag in the stream. If it matches , + the tag is consumed and the method returns true; otherwise, the + stream is left in the original position and the method returns false. + + + + + Same code as ReadRawVarint32, but read each byte individually, checking for + buffer overflow. + + + + + Reads a raw Varint from the stream. If larger than 32 bits, discard the upper bits. + This method is optimised for the case where we've got lots of data in the buffer. + That means we can check the size just once, then just read directly from the buffer + without constant rechecking of the buffer length. + + + + + Reads a varint from the input one byte at a time, so that it does not + read any bytes after the end of the varint. If you simply wrapped the + stream in a CodedInputStream and used ReadRawVarint32(Stream) + then you would probably end up reading past the end of the varint since + CodedInputStream buffers its input. + + + + + + + Reads a raw varint from the stream. + + + + + Reads a 32-bit little-endian integer from the stream. + + + + + Reads a 64-bit little-endian integer from the stream. + + + + + Decode a 32-bit value with ZigZag encoding. + + + ZigZag encodes signed integers into values that can be efficiently + encoded with varint. (Otherwise, negative values must be + sign-extended to 64 bits to be varint encoded, thus always taking + 10 bytes on the wire.) + + + + + Decode a 32-bit value with ZigZag encoding. + + + ZigZag encodes signed integers into values that can be efficiently + encoded with varint. (Otherwise, negative values must be + sign-extended to 64 bits to be varint encoded, thus always taking + 10 bytes on the wire.) + + + + + Sets currentLimit to (current position) + byteLimit. This is called + when descending into a length-delimited embedded message. The previous + limit is returned. + + The old limit. + + + + Discards the current limit, returning the previous limit. + + + + + Returns whether or not all the data before the limit has been read. + + + + + + Returns true if the stream has reached the end of the input. This is the + case if either the end of the underlying input source has been reached or + the stream has reached a limit created using PushLimit. + + + + + Called when buffer is empty to read more bytes from the + input. If is true, RefillBuffer() gurantees that + either there will be at least one byte in the buffer when it returns + or it will throw an exception. If is false, + RefillBuffer() returns false if no more bytes were available. + + + + + + + Read one byte from the input. + + + the end of the stream or the current limit was reached + + + + + Reads a fixed size of bytes from the input. + + + the end of the stream or the current limit was reached + + + + + Reads and discards bytes. + + the end of the stream + or the current limit was reached + + + + Abstraction of skipping to cope with streams which can't really skip. + + + + + Encodes and writes protocol message fields. + + + + This class is generally used by generated code to write appropriate + primitives to the stream. It effectively encapsulates the lowest + levels of protocol buffer format. Unlike some other implementations, + this does not include combined "write tag and value" methods. Generated + code knows the exact byte representations of the tags they're going to write, + so there's no need to re-encode them each time. Manually-written code calling + this class should just call one of the WriteTag overloads before each value. + + + Repeated fields and map fields are not handled by this class; use RepeatedField<T> + and MapField<TKey, TValue> to serialize such fields. + + + + + + Computes the number of bytes that would be needed to encode a + double field, including the tag. + + + + + Computes the number of bytes that would be needed to encode a + float field, including the tag. + + + + + Computes the number of bytes that would be needed to encode a + uint64 field, including the tag. + + + + + Computes the number of bytes that would be needed to encode an + int64 field, including the tag. + + + + + Computes the number of bytes that would be needed to encode an + int32 field, including the tag. + + + + + Computes the number of bytes that would be needed to encode a + fixed64 field, including the tag. + + + + + Computes the number of bytes that would be needed to encode a + fixed32 field, including the tag. + + + + + Computes the number of bytes that would be needed to encode a + bool field, including the tag. + + + + + Computes the number of bytes that would be needed to encode a + string field, including the tag. + + + + + Computes the number of bytes that would be needed to encode a + group field, including the tag. + + + + + Computes the number of bytes that would be needed to encode an + embedded message field, including the tag. + + + + + Computes the number of bytes that would be needed to encode a + bytes field, including the tag. + + + + + Computes the number of bytes that would be needed to encode a + uint32 field, including the tag. + + + + + Computes the number of bytes that would be needed to encode a + enum field, including the tag. The caller is responsible for + converting the enum value to its numeric value. + + + + + Computes the number of bytes that would be needed to encode an + sfixed32 field, including the tag. + + + + + Computes the number of bytes that would be needed to encode an + sfixed64 field, including the tag. + + + + + Computes the number of bytes that would be needed to encode an + sint32 field, including the tag. + + + + + Computes the number of bytes that would be needed to encode an + sint64 field, including the tag. + + + + + Computes the number of bytes that would be needed to encode a length, + as written by . + + + + + Computes the number of bytes that would be needed to encode a varint. + + + + + Computes the number of bytes that would be needed to encode a varint. + + + + + Computes the number of bytes that would be needed to encode a tag. + + + + + The buffer size used by CreateInstance(Stream). + + + + + Creates a new CodedOutputStream that writes directly to the given + byte array. If more bytes are written than fit in the array, + OutOfSpaceException will be thrown. + + + + + Creates a new CodedOutputStream that writes directly to the given + byte array slice. If more bytes are written than fit in the array, + OutOfSpaceException will be thrown. + + + + + Creates a new which write to the given stream, and disposes of that + stream when the returned CodedOutputStream is disposed. + + The stream to write to. It will be disposed when the returned CodedOutputStream is disposed. + + + + Creates a new CodedOutputStream which write to the given stream and uses + the specified buffer size. + + The stream to write to. It will be disposed when the returned CodedOutputStream is disposed. + The size of buffer to use internally. + + + + Creates a new CodedOutputStream which write to the given stream. + + The stream to write to. + If true, is left open when the returned CodedOutputStream is disposed; + if false, the provided stream is disposed as well. + + + + Creates a new CodedOutputStream which write to the given stream and uses + the specified buffer size. + + The stream to write to. + The size of buffer to use internally. + If true, is left open when the returned CodedOutputStream is disposed; + if false, the provided stream is disposed as well. + + + + Returns the current position in the stream, or the position in the output buffer + + + + + Writes a double field value, without a tag, to the stream. + + The value to write + + + + Writes a float field value, without a tag, to the stream. + + The value to write + + + + Writes a uint64 field value, without a tag, to the stream. + + The value to write + + + + Writes an int64 field value, without a tag, to the stream. + + The value to write + + + + Writes an int32 field value, without a tag, to the stream. + + The value to write + + + + Writes a fixed64 field value, without a tag, to the stream. + + The value to write + + + + Writes a fixed32 field value, without a tag, to the stream. + + The value to write + + + + Writes a bool field value, without a tag, to the stream. + + The value to write + + + + Writes a string field value, without a tag, to the stream. + The data is length-prefixed. + + The value to write + + + + Writes a message, without a tag, to the stream. + The data is length-prefixed. + + The value to write + + + + Write a byte string, without a tag, to the stream. + The data is length-prefixed. + + The value to write + + + + Writes a uint32 value, without a tag, to the stream. + + The value to write + + + + Writes an enum value, without a tag, to the stream. + + The value to write + + + + Writes an sfixed32 value, without a tag, to the stream. + + The value to write. + + + + Writes an sfixed64 value, without a tag, to the stream. + + The value to write + + + + Writes an sint32 value, without a tag, to the stream. + + The value to write + + + + Writes an sint64 value, without a tag, to the stream. + + The value to write + + + + Writes a length (in bytes) for length-delimited data. + + + This method simply writes a rawint, but exists for clarity in calling code. + + Length value, in bytes. + + + + Encodes and writes a tag. + + The number of the field to write the tag for + The wire format type of the tag to write + + + + Writes an already-encoded tag. + + The encoded tag + + + + Writes the given single-byte tag directly to the stream. + + The encoded tag + + + + Writes the given two-byte tag directly to the stream. + + The first byte of the encoded tag + The second byte of the encoded tag + + + + Writes the given three-byte tag directly to the stream. + + The first byte of the encoded tag + The second byte of the encoded tag + The third byte of the encoded tag + + + + Writes the given four-byte tag directly to the stream. + + The first byte of the encoded tag + The second byte of the encoded tag + The third byte of the encoded tag + The fourth byte of the encoded tag + + + + Writes the given five-byte tag directly to the stream. + + The first byte of the encoded tag + The second byte of the encoded tag + The third byte of the encoded tag + The fourth byte of the encoded tag + The fifth byte of the encoded tag + + + + Writes a 32 bit value as a varint. The fast route is taken when + there's enough buffer space left to whizz through without checking + for each byte; otherwise, we resort to calling WriteRawByte each time. + + + + + Writes out an array of bytes. + + + + + Writes out part of an array of bytes. + + + + + Encode a 32-bit value with ZigZag encoding. + + + ZigZag encodes signed integers into values that can be efficiently + encoded with varint. (Otherwise, negative values must be + sign-extended to 64 bits to be varint encoded, thus always taking + 10 bytes on the wire.) + + + + + Encode a 64-bit value with ZigZag encoding. + + + ZigZag encodes signed integers into values that can be efficiently + encoded with varint. (Otherwise, negative values must be + sign-extended to 64 bits to be varint encoded, thus always taking + 10 bytes on the wire.) + + + + + Indicates that a CodedOutputStream wrapping a flat byte array + ran out of space. + + + + + Flushes any buffered data and optionally closes the underlying stream, if any. + + + + By default, any underlying stream is closed by this method. To configure this behaviour, + use a constructor overload with a leaveOpen parameter. If this instance does not + have an underlying stream, this method does nothing. + + + For the sake of efficiency, calling this method does not prevent future write calls - but + if a later write ends up writing to a stream which has been disposed, that is likely to + fail. It is recommend that you not call any other methods after this. + + + + + + Flushes any buffered data to the underlying stream (if there is one). + + + + + Verifies that SpaceLeft returns zero. It's common to create a byte array + that is exactly big enough to hold a message, then write to it with + a CodedOutputStream. Calling CheckNoSpaceLeft after writing verifies that + the message was actually as big as expected, which can help bugs. + + + + + If writing to a flat array, returns the space left in the array. Otherwise, + throws an InvalidOperationException. + + + + + Utility to compare if two Lists are the same, and the hash code + of a List. + + + + + Checks if two lists are equal. + + + + + Gets the list's hash code. + + + + + Representation of a map field in a Protocol Buffer message. + + Key type in the map. Must be a type supported by Protocol Buffer map keys. + Value type in the map. Must be a type supported by Protocol Buffers. + + + For string keys, the equality comparison is provided by . + + + Null values are not permitted in the map, either for wrapper types or regular messages. + If a map is deserialized from a data stream and the value is missing from an entry, a default value + is created instead. For primitive types, that is the regular default value (0, the empty string and so + on); for message types, an empty instance of the message is created, as if the map entry contained a 0-length + encoded value for the field. + + + This implementation does not generally prohibit the use of key/value types which are not + supported by Protocol Buffers (e.g. using a key type of byte) but nor does it guarantee + that all operations will work in such cases. + + + The order in which entries are returned when iterating over this object is undefined, and may change + in future versions. + + + + + + Creates a deep clone of this object. + + + A deep clone of this object. + + + + + Adds the specified key/value pair to the map. + + + This operation fails if the key already exists in the map. To replace an existing entry, use the indexer. + + The key to add + The value to add. + The given key already exists in map. + + + + Determines whether the specified key is present in the map. + + The key to check. + true if the map contains the given key; false otherwise. + + + + Removes the entry identified by the given key from the map. + + The key indicating the entry to remove from the map. + true if the map contained the given key before the entry was removed; false otherwise. + + + + Gets the value associated with the specified key. + + The key whose value to get. + When this method returns, the value associated with the specified key, if the key is found; + otherwise, the default value for the type of the parameter. + This parameter is passed uninitialized. + true if the map contains an element with the specified key; otherwise, false. + + + + Gets or sets the value associated with the specified key. + + The key of the value to get or set. + The property is retrieved and key does not exist in the collection. + The value associated with the specified key. If the specified key is not found, + a get operation throws a , and a set operation creates a new element with the specified key. + + + + Gets a collection containing the keys in the map. + + + + + Gets a collection containing the values in the map. + + + + + Adds the specified entries to the map. The keys and values are not automatically cloned. + + The entries to add to the map. + + + + Returns an enumerator that iterates through the collection. + + + An enumerator that can be used to iterate through the collection. + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Adds the specified item to the map. + + The item to add to the map. + + + + Removes all items from the map. + + + + + Determines whether map contains an entry equivalent to the given key/value pair. + + The key/value pair to find. + + + + + Copies the key/value pairs in this map to an array. + + The array to copy the entries into. + The index of the array at which to start copying values. + + + + Removes the specified key/value pair from the map. + + Both the key and the value must be found for the entry to be removed. + The key/value pair to remove. + true if the key/value pair was found and removed; false otherwise. + + + + Gets the number of elements contained in the map. + + + + + Gets a value indicating whether the map is read-only. + + + + + Determines whether the specified , is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Compares this map with another for equality. + + + The order of the key/value pairs in the maps is not deemed significant in this comparison. + + The map to compare this with. + true if refers to an equal map; false otherwise. + + + + Adds entries to the map from the given stream. + + + It is assumed that the stream is initially positioned after the tag specified by the codec. + This method will continue reading entries from the stream until the end is reached, or + a different tag is encountered. + + Stream to read from + Codec describing how the key/value pairs are encoded + + + + Writes the contents of this map to the given coded output stream, using the specified codec + to encode each entry. + + The output stream to write to. + The codec to use for each entry. + + + + Calculates the size of this map based on the given entry codec. + + The codec to use to encode each entry. + + + + + Returns a string representation of this repeated field, in the same + way as it would be represented by the default JSON formatter. + + + + + A codec for a specific map field. This contains all the information required to encode and + decode the nested messages. + + + + + Creates a new entry codec based on a separate key codec and value codec, + and the tag to use for each map entry. + + The key codec. + The value codec. + The map tag to use to introduce each map entry. + + + + The tag used in the enclosing message to indicate map entries. + + + + + A mutable message class, used for parsing and serializing. This + delegates the work to a codec, but implements the interface + for interop with and . + This is nested inside Codec as it's tightly coupled to the associated codec, + and it's simpler if it has direct access to all its fields. + + + + + Provides a central place to implement equality comparisons, primarily for bitwise float/double equality. + + + + + Returns an equality comparer for suitable for Protobuf equality comparisons. + This is usually just the default equality comparer for the type, but floating point numbers are compared + bitwise. + + The type of equality comparer to return. + The equality comparer. + + + + Returns an equality comparer suitable for comparing 64-bit floating point values, by bitwise comparison. + (NaN values are considered equal, but only when they have the same representation.) + + + + + Returns an equality comparer suitable for comparing 32-bit floating point values, by bitwise comparison. + (NaN values are considered equal, but only when they have the same representation.) + + + + + Returns an equality comparer suitable for comparing nullable 64-bit floating point values, by bitwise comparison. + (NaN values are considered equal, but only when they have the same representation.) + + + + + Returns an equality comparer suitable for comparing nullable 32-bit floating point values, by bitwise comparison. + (NaN values are considered equal, but only when they have the same representation.) + + + + + Read-only wrapper around another dictionary. + + + + + The contents of a repeated field: essentially, a collection with some extra + restrictions (no null values) and capabilities (deep cloning). + + + This implementation does not generally prohibit the use of types which are not + supported by Protocol Buffers but nor does it guarantee that all operations will work in such cases. + + The element type of the repeated field. + + + + Creates a deep clone of this repeated field. + + + If the field type is + a message type, each element is also cloned; otherwise, it is + assumed that the field type is primitive (including string and + bytes, both of which are immutable) and so a simple copy is + equivalent to a deep clone. + + A deep clone of this repeated field. + + + + Adds the entries from the given input stream, decoding them with the specified codec. + + The input stream to read from. + The codec to use in order to read each entry. + + + + Calculates the size of this collection based on the given codec. + + The codec to use when encoding each field. + The number of bytes that would be written to a by , + using the same codec. + + + + Writes the contents of this collection to the given , + encoding each value using the specified codec. + + The output stream to write to. + The codec to use when encoding each value. + + + + Adds the specified item to the collection. + + The item to add. + + + + Removes all items from the collection. + + + + + Determines whether this collection contains the given item. + + The item to find. + true if this collection contains the given item; false otherwise. + + + + Copies this collection to the given array. + + The array to copy to. + The first index of the array to copy to. + + + + Removes the specified item from the collection + + The item to remove. + true if the item was found and removed; false otherwise. + + + + Gets the number of elements contained in the collection. + + + + + Gets a value indicating whether the collection is read-only. + + + + + Adds all of the specified values into this collection. + + The values to add to this collection. + + + + Adds all of the specified values into this collection. This method is present to + allow repeated fields to be constructed from queries within collection initializers. + Within non-collection-initializer code, consider using the equivalent + method instead for clarity. + + The values to add to this collection. + + + + Returns an enumerator that iterates through the collection. + + + An enumerator that can be used to iterate through the collection. + + + + + Determines whether the specified , is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Compares this repeated field with another for equality. + + The repeated field to compare this with. + true if refers to an equal repeated field; false otherwise. + + + + Returns the index of the given item within the collection, or -1 if the item is not + present. + + The item to find in the collection. + The zero-based index of the item, or -1 if it is not found. + + + + Inserts the given item at the specified index. + + The index at which to insert the item. + The item to insert. + + + + Removes the item at the given index. + + The zero-based index of the item to remove. + + + + Returns a string representation of this repeated field, in the same + way as it would be represented by the default JSON formatter. + + + + + Gets or sets the item at the specified index. + + + The element at the specified index. + + The zero-based index of the element to get or set. + The item at the specified index. + + + + Extension methods for , effectively providing + the familiar members from previous desktop framework versions while + targeting the newer releases, .NET Core etc. + + + + + Returns the public getter of a property, or null if there is no such getter + (either because it's read-only, or the getter isn't public). + + + + + Returns the public setter of a property, or null if there is no such setter + (either because it's write-only, or the setter isn't public). + + + + + Provides extension methods on Type that just proxy to TypeInfo. + These are used to support the new type system from .NET 4.5, without + having calls to GetTypeInfo all over the place. While the methods here are meant to be + broadly compatible with the desktop framework, there are some subtle differences in behaviour - but + they're not expected to affect our use cases. While the class is internal, that should be fine: we can + evaluate each new use appropriately. + + + + + See https://msdn.microsoft.com/en-us/library/system.type.isassignablefrom + + + + + Returns a representation of the public property associated with the given name in the given type, + including inherited properties or null if there is no such public property. + Here, "public property" means a property where either the getter, or the setter, or both, is public. + + + + + Returns a representation of the public method associated with the given name in the given type, + including inherited methods. + + + This has a few differences compared with Type.GetMethod in the desktop framework. It will throw + if there is an ambiguous match even between a private method and a public one, but it *won't* throw + if there are two overloads at different levels in the type hierarchy (e.g. class Base declares public void Foo(int) and + class Child : Base declares public void Foo(long)). + + One type in the hierarchy declared more than one method with the same name + + + + Factory methods for . + + + + + Retrieves a codec suitable for a string field with the given tag. + + The tag. + A codec for the given tag. + + + + Retrieves a codec suitable for a bytes field with the given tag. + + The tag. + A codec for the given tag. + + + + Retrieves a codec suitable for a bool field with the given tag. + + The tag. + A codec for the given tag. + + + + Retrieves a codec suitable for an int32 field with the given tag. + + The tag. + A codec for the given tag. + + + + Retrieves a codec suitable for an sint32 field with the given tag. + + The tag. + A codec for the given tag. + + + + Retrieves a codec suitable for a fixed32 field with the given tag. + + The tag. + A codec for the given tag. + + + + Retrieves a codec suitable for an sfixed32 field with the given tag. + + The tag. + A codec for the given tag. + + + + Retrieves a codec suitable for a uint32 field with the given tag. + + The tag. + A codec for the given tag. + + + + Retrieves a codec suitable for an int64 field with the given tag. + + The tag. + A codec for the given tag. + + + + Retrieves a codec suitable for an sint64 field with the given tag. + + The tag. + A codec for the given tag. + + + + Retrieves a codec suitable for a fixed64 field with the given tag. + + The tag. + A codec for the given tag. + + + + Retrieves a codec suitable for an sfixed64 field with the given tag. + + The tag. + A codec for the given tag. + + + + Retrieves a codec suitable for a uint64 field with the given tag. + + The tag. + A codec for the given tag. + + + + Retrieves a codec suitable for a float field with the given tag. + + The tag. + A codec for the given tag. + + + + Retrieves a codec suitable for a double field with the given tag. + + The tag. + A codec for the given tag. + + + + Retrieves a codec suitable for an enum field with the given tag. + + The tag. + A conversion function from to the enum type. + A conversion function from the enum type to . + A codec for the given tag. + + + + Retrieves a codec suitable for a message field with the given tag. + + The tag. + A parser to use for the message type. + A codec for the given tag. + + + + Creates a codec for a wrapper type of a class - which must be string or ByteString. + + + + + Creates a codec for a wrapper type of a struct - which must be Int32, Int64, UInt32, UInt64, + Bool, Single or Double. + + + + + Helper code to create codecs for wrapper types. + + + Somewhat ugly with all the static methods, but the conversions involved to/from nullable types make it + slightly tricky to improve. So long as we keep the public API (ForClassWrapper, ForStructWrapper) in place, + we can refactor later if we come up with something cleaner. + + + + + Returns a field codec which effectively wraps a value of type T in a message. + + + + + + + An encode/decode pair for a single field. This effectively encapsulates + all the information needed to read or write the field value from/to a coded + stream. + + + This class is public and has to be as it is used by generated code, but its public + API is very limited - just what the generated code needs to call directly. + + + + This never writes default values to the stream, and does not address "packedness" + in repeated fields itself, other than to know whether or not the field *should* be packed. + + + + + Returns a delegate to write a value (unconditionally) to a coded output stream. + + + + + Returns the size calculator for just a value. + + + + + Returns a delegate to read a value from a coded input stream. It is assumed that + the stream is already positioned on the appropriate tag. + + + + + Returns the fixed size for an entry, or 0 if sizes vary. + + + + + Gets the tag of the codec. + + + The tag of the codec. + + + + + Default value for this codec. Usually the same for every instance of the same type, but + for string/ByteString wrapper fields the codec's default value is null, whereas for + other string/ByteString fields it's "" or ByteString.Empty. + + + The default value of the codec's type. + + + + + Write a tag and the given value, *if* the value is not the default. + + + + + Reads a value of the codec type from the given . + + The input stream to read from. + The value read from the stream. + + + + Calculates the size required to write the given value, with a tag, + if the value is not the default. + + + + + Class containing helpful workarounds for various platform compatibility + + + + + A message type that has a custom string format for diagnostic purposes. + + + + Calling on a generated message type normally + returns the JSON representation. If a message type implements this interface, + then the method will be called instead of the regular + JSON formatting code, but only when ToString() is called either on the message itself + or on another message which contains it. This does not affect the normal JSON formatting of + the message. + + + For example, if you create a proto message representing a GUID, the internal + representation may be a bytes field or four fixed32 fields. However, when debugging + it may be more convenient to see a result in the same format as provides. + + This interface extends to avoid it accidentally being implemented + on types other than messages, where it would not be used by anything in the framework. + + + + + Returns a string representation of this object, for diagnostic purposes. + + + This method is called when a message is formatted as part of a + call. It does not affect the JSON representation used by other than + in calls to . While it is recommended + that the result is valid JSON, this is never assumed by the Protobuf library. + + A string representation of this object, for diagnostic purposes. + + + + Generic interface for a deeply cloneable type. + + + + All generated messages implement this interface, but so do some non-message types. + Additionally, due to the type constraint on T in , + it is simpler to keep this as a separate interface. + + + The type itself, returned by the method. + + + + Creates a deep clone of this object. + + A deep clone of this object. + + + + Interface for a Protocol Buffers message, supporting + basic operations required for serialization. + + + + + Merges the data from the specified coded input stream with the current message. + + See the user guide for precise merge semantics. + + + + + Writes the data to the given coded output stream. + + Coded output stream to write the data to. Must not be null. + + + + Calculates the size of this message in Protocol Buffer wire format, in bytes. + + The number of bytes required to write this message + to a coded output stream. + + + + Descriptor for this message. All instances are expected to return the same descriptor, + and for generated types this will be an explicitly-implemented member, returning the + same value as the static property declared on the type. + + + + + Generic interface for a Protocol Buffers message, + where the type parameter is expected to be the same type as + the implementation class. + + The message type. + + + + Merges the given message into this one. + + See the user guide for precise merge semantics. + The message to merge with this one. Must not be null. + + + + Thrown when an attempt is made to parse invalid JSON, e.g. using + a non-string property key, or including a redundant comma. Parsing a protocol buffer + message represented in JSON using can throw both this + exception and depending on the situation. This + exception is only thrown for "pure JSON" errors, whereas InvalidProtocolBufferException + is thrown when the JSON may be valid in and of itself, but cannot be parsed as a protocol buffer + message. + + + + + Thrown when a protocol message being parsed is invalid in some way, + e.g. it contains a malformed varint or a negative byte length. + + + + + Creates an exception for an error condition of an invalid tag being encountered. + + + + + Reflection-based converter from messages to JSON. + + + + Instances of this class are thread-safe, with no mutable state. + + + This is a simple start to get JSON formatting working. As it's reflection-based, + it's not as quick as baking calls into generated messages - but is a simpler implementation. + (This code is generally not heavily optimized.) + + + + + + Returns a formatter using the default settings. + + + + + The JSON representation of the first 160 characters of Unicode. + Empty strings are replaced by the static constructor. + + + + + Creates a new formatted with the given settings. + + The settings. + + + + Formats the specified message as JSON. + + The message to format. + The formatted message. + + + + Formats the specified message as JSON. + + The message to format. + The TextWriter to write the formatted message to. + The formatted message. + + + + Converts a message to JSON for diagnostic purposes with no extra context. + + + + This differs from calling on the default JSON + formatter in its handling of . As no type registry is available + in calls, the normal way of resolving the type of + an Any message cannot be applied. Instead, a JSON property named @value + is included with the base64 data from the property of the message. + + The value returned by this method is only designed to be used for diagnostic + purposes. It may not be parsable by , and may not be parsable + by other Protocol Buffer implementations. + + The message to format for diagnostic purposes. + The diagnostic-only JSON representation of the message + + + + Writes a single value to the given writer as JSON. Only types understood by + Protocol Buffers can be written in this way. This method is only exposed for + advanced use cases; most users should be using + or . + + The writer to write the value to. Must not be null. + The value to write. May be null. + + + + Central interception point for well-known type formatting. Any well-known types which + don't need special handling can fall back to WriteMessage. We avoid assuming that the + values are using the embedded well-known types, in order to allow for dynamic messages + in the future. + + + + + Writes a string (including leading and trailing double quotes) to a builder, escaping as required. + + + Other than surrogate pair handling, this code is mostly taken from src/google/protobuf/util/internal/json_escaping.cc. + + + + + Settings controlling JSON formatting. + + + + + Default settings, as used by + + + + + Whether fields whose values are the default for the field type (e.g. 0 for integers) + should be formatted (true) or omitted (false). + + + + + The type registry used to format messages. + + + + + Whether to format enums as ints. Defaults to false. + + + + + Creates a new object with the specified formatting of default values + and an empty type registry. + + true if default values (0, empty strings etc) should be formatted; false otherwise. + + + + Creates a new object with the specified formatting of default values + and type registry. + + true if default values (0, empty strings etc) should be formatted; false otherwise. + The to use when formatting messages. + + + + Creates a new object with the specified parameters. + + true if default values (0, empty strings etc) should be formatted; false otherwise. + The to use when formatting messages. TypeRegistry.Empty will be used if it is null. + true to format the enums as integers; false to format enums as enum names. + + + + Creates a new object with the specified formatting of default values and the current settings. + + true if default values (0, empty strings etc) should be formatted; false otherwise. + + + + Creates a new object with the specified type registry and the current settings. + + The to use when formatting messages. + + + + Creates a new object with the specified enums formatting option and the current settings. + + true to format the enums as integers; false to format enums as enum names. + + + + Reflection-based converter from JSON to messages. + + + + Instances of this class are thread-safe, with no mutable state. + + + This is a simple start to get JSON parsing working. As it's reflection-based, + it's not as quick as baking calls into generated messages - but is a simpler implementation. + (This code is generally not heavily optimized.) + + + + + + Returns a formatter using the default settings. + + + + + Creates a new formatted with the given settings. + + The settings. + + + + Parses and merges the information into the given message. + + The message to merge the JSON information into. + The JSON to parse. + + + + Parses JSON read from and merges the information into the given message. + + The message to merge the JSON information into. + Reader providing the JSON to parse. + + + + Merges the given message using data from the given tokenizer. In most cases, the next + token should be a "start object" token, but wrapper types and nullity can invalidate + that assumption. This is implemented as an LL(1) recursive descent parser over the stream + of tokens provided by the tokenizer. This token stream is assumed to be valid JSON, with the + tokenizer performing that validation - but not every token stream is valid "protobuf JSON". + + + + + Parses into a new message. + + The type of message to create. + The JSON to parse. + The JSON does not comply with RFC 7159 + The JSON does not represent a Protocol Buffers message correctly + + + + Parses JSON read from into a new message. + + The type of message to create. + Reader providing the JSON to parse. + The JSON does not comply with RFC 7159 + The JSON does not represent a Protocol Buffers message correctly + + + + Parses into a new message. + + The JSON to parse. + Descriptor of message type to parse. + The JSON does not comply with RFC 7159 + The JSON does not represent a Protocol Buffers message correctly + + + + Parses JSON read from into a new message. + + Reader providing the JSON to parse. + Descriptor of message type to parse. + The JSON does not comply with RFC 7159 + The JSON does not represent a Protocol Buffers message correctly + + + + Creates a new instance of the message type for the given field. + + + + + Checks that any infinite/NaN values originated from the correct text. + This corrects the lenient whitespace handling of double.Parse/float.Parse, as well as the + way that Mono parses out-of-range values as infinity. + + + + + Settings controlling JSON parsing. + + + + + Default settings, as used by . This has the same default + recursion limit as , and an empty type registry. + + + + + The maximum depth of messages to parse. Note that this limit only applies to parsing + messages, not collections - so a message within a collection within a message only counts as + depth 2, not 3. + + + + + The type registry used to parse messages. + + + + + Whether the parser should ignore unknown fields (true) or throw an exception when + they are encountered (false). + + + + + Creates a new object with the specified recursion limit. + + The maximum depth of messages to parse + + + + Creates a new object with the specified recursion limit and type registry. + + The maximum depth of messages to parse + The type registry used to parse messages + + + + Creates a new object set to either ignore unknown fields, or throw an exception + when unknown fields are encountered. + + true if unknown fields should be ignored when parsing; false to throw an exception. + + + + Creates a new object based on this one, but with the specified recursion limit. + + The new recursion limit. + + + + Creates a new object based on this one, but with the specified type registry. + + The new type registry. Must not be null. + + + + Simple but strict JSON tokenizer, rigidly following RFC 7159. + + + + This tokenizer is stateful, and only returns "useful" tokens - names, values etc. + It does not create tokens for the separator between names and values, or for the comma + between values. It validates the token stream as it goes - so callers can assume that the + tokens it produces are appropriate. For example, it would never produce "start object, end array." + + Implementation details: the base class handles single token push-back and + Not thread-safe. + + + + + Creates a tokenizer that reads from the given text reader. + + + + + Creates a tokenizer that first replays the given list of tokens, then continues reading + from another tokenizer. Note that if the returned tokenizer is "pushed back", that does not push back + on the continuation tokenizer, or vice versa. Care should be taken when using this method - it was + created for the sake of Any parsing. + + + + + Returns the depth of the stack, purely in objects (not collections). + Informally, this is the number of remaining unclosed '{' characters we have. + + + + + Returns the next JSON token in the stream. An EndDocument token is returned to indicate the end of the stream, + after which point Next() should not be called again. + + This implementation provides single-token buffering, and calls if there is no buffered token. + The next token in the stream. This is never null. + This method is called after an EndDocument token has been returned + The input text does not comply with RFC 7159 + + + + Returns the next JSON token in the stream, when requested by the base class. (The method delegates + to this if it doesn't have a buffered token.) + + This method is called after an EndDocument token has been returned + The input text does not comply with RFC 7159 + + + + Skips the value we're about to read. This must only be called immediately after reading a property name. + If the value is an object or an array, the complete object/array is skipped. + + + + + Tokenizer which first exhausts a list of tokens, then consults another tokenizer. + + + + + Tokenizer which does all the *real* work of parsing JSON. + + + + + This method essentially just loops through characters skipping whitespace, validating and + changing state (e.g. from ObjectBeforeColon to ObjectAfterColon) + until it reaches something which will be a genuine token (e.g. a start object, or a value) at which point + it returns the token. Although the method is large, it would be relatively hard to break down further... most + of it is the large switch statement, which sometimes returns and sometimes doesn't. + + + + + Reads a string token. It is assumed that the opening " has already been read. + + + + + Reads an escaped character. It is assumed that the leading backslash has already been read. + + + + + Reads an escaped Unicode 4-nybble hex sequence. It is assumed that the leading \u has already been read. + + + + + Consumes a text-only literal, throwing an exception if the read text doesn't match it. + It is assumed that the first letter of the literal has already been read. + + + + + Validates that we're in a valid state to read a value (using the given error prefix if necessary) + and changes the state to the appropriate one, e.g. ObjectAfterColon to ObjectAfterProperty. + + + + + Pops the top-most container, and sets the state to the appropriate one for the end of a value + in the parent container. + + + + + Possible states of the tokenizer. + + + This is a flags enum purely so we can simply and efficiently represent a set of valid states + for checking. + + Each is documented with an example, + where ^ represents the current position within the text stream. The examples all use string values, + but could be any value, including nested objects/arrays. + The complete state of the tokenizer also includes a stack to indicate the contexts (arrays/objects). + Any additional notional state of "AfterValue" indicates that a value has been completed, at which + point there's an immediate transition to ExpectedEndOfDocument, ObjectAfterProperty or ArrayAfterValue. + + + These states were derived manually by reading RFC 7159 carefully. + + + + + + ^ { "foo": "bar" } + Before the value in a document. Next states: ObjectStart, ArrayStart, "AfterValue" + + + + + { "foo": "bar" } ^ + After the value in a document. Next states: ReaderExhausted + + + + + { "foo": "bar" } ^ (and already read to the end of the reader) + Terminal state. + + + + + { ^ "foo": "bar" } + Before the *first* property in an object. + Next states: + "AfterValue" (empty object) + ObjectBeforeColon (read a name) + + + + + { "foo" ^ : "bar", "x": "y" } + Next state: ObjectAfterColon + + + + + { "foo" : ^ "bar", "x": "y" } + Before any property other than the first in an object. + (Equivalently: after any property in an object) + Next states: + "AfterValue" (value is simple) + ObjectStart (value is object) + ArrayStart (value is array) + + + + + { "foo" : "bar" ^ , "x" : "y" } + At the end of a property, so expecting either a comma or end-of-object + Next states: ObjectAfterComma or "AfterValue" + + + + + { "foo":"bar", ^ "x":"y" } + Read the comma after the previous property, so expecting another property. + This is like ObjectStart, but closing brace isn't valid here + Next state: ObjectBeforeColon. + + + + + [ ^ "foo", "bar" ] + Before the *first* value in an array. + Next states: + "AfterValue" (read a value) + "AfterValue" (end of array; will pop stack) + + + + + [ "foo" ^ , "bar" ] + After any value in an array, so expecting either a comma or end-of-array + Next states: ArrayAfterComma or "AfterValue" + + + + + [ "foo", ^ "bar" ] + After a comma in an array, so there *must* be another value (simple or complex). + Next states: "AfterValue" (simple value), StartObject, StartArray + + + + + Wrapper around a text reader allowing small amounts of buffering and location handling. + + + + + The buffered next character, if we have one. + + + + + Returns the next character in the stream, or null if we have reached the end. + + + + + + Creates a new exception appropriate for the current state of the reader. + + + + + Stream implementation which proxies another stream, only allowing a certain amount + of data to be read. Note that this is only used to read delimited streams, so it + doesn't attempt to implement everything. + + + + + Extension methods on and . + + + + + Merges data from the given byte array into an existing message. + + The message to merge the data into. + The data to merge, which must be protobuf-encoded binary data. + + + + Merges data from the given byte array slice into an existing message. + + The message to merge the data into. + The data containing the slice to merge, which must be protobuf-encoded binary data. + The offset of the slice to merge. + The length of the slice to merge. + + + + Merges data from the given byte string into an existing message. + + The message to merge the data into. + The data to merge, which must be protobuf-encoded binary data. + + + + Merges data from the given stream into an existing message. + + The message to merge the data into. + Stream containing the data to merge, which must be protobuf-encoded binary data. + + + + Merges length-delimited data from the given stream into an existing message. + + + The stream is expected to contain a length and then the data. Only the amount of data + specified by the length will be consumed. + + The message to merge the data into. + Stream containing the data to merge, which must be protobuf-encoded binary data. + + + + Converts the given message into a byte array in protobuf encoding. + + The message to convert. + The message data as a byte array. + + + + Writes the given message data to the given stream in protobuf encoding. + + The message to write to the stream. + The stream to write to. + + + + Writes the length and then data of the given message to a stream. + + The message to write. + The output stream to write to. + + + + Converts the given message into a byte string in protobuf encoding. + + The message to convert. + The message data as a byte string. + + + + A general message parser, typically used by reflection-based code as all the methods + return simple . + + + + + Creates a template instance ready for population. + + An empty message. + + + + Parses a message from a byte array. + + The byte array containing the message. Must not be null. + The newly parsed message. + + + + Parses a message from a byte array slice. + + The byte array containing the message. Must not be null. + The offset of the slice to parse. + The length of the slice to parse. + The newly parsed message. + + + + Parses a message from the given byte string. + + The data to parse. + The parsed message. + + + + Parses a message from the given stream. + + The stream to parse. + The parsed message. + + + + Parses a length-delimited message from the given stream. + + + The stream is expected to contain a length and then the data. Only the amount of data + specified by the length will be consumed. + + The stream to parse. + The parsed message. + + + + Parses a message from the given coded input stream. + + The stream to parse. + The parsed message. + + + + Parses a message from the given JSON. + + The JSON to parse. + The parsed message. + The JSON does not comply with RFC 7159 + The JSON does not represent a Protocol Buffers message correctly + + + + A parser for a specific message type. + + +

+ This delegates most behavior to the + implementation within the original type, but + provides convenient overloads to parse from a variety of sources. +

+

+ Most applications will never need to create their own instances of this type; + instead, use the static Parser property of a generated message type to obtain a + parser for that type. +

+
+ The type of message to be parsed. +
+ + + Creates a new parser. + + + The factory method is effectively an optimization over using a generic constraint + to require a parameterless constructor: delegates are significantly faster to execute. + + Function to invoke when a new, empty message is required. + + + + Creates a template instance ready for population. + + An empty message. + + + + Parses a message from a byte array. + + The byte array containing the message. Must not be null. + The newly parsed message. + + + + Parses a message from a byte array slice. + + The byte array containing the message. Must not be null. + The offset of the slice to parse. + The length of the slice to parse. + The newly parsed message. + + + + Parses a message from the given byte string. + + The data to parse. + The parsed message. + + + + Parses a message from the given stream. + + The stream to parse. + The parsed message. + + + + Parses a length-delimited message from the given stream. + + + The stream is expected to contain a length and then the data. Only the amount of data + specified by the length will be consumed. + + The stream to parse. + The parsed message. + + + + Parses a message from the given coded input stream. + + The stream to parse. + The parsed message. + + + + Parses a message from the given JSON. + + The JSON to parse. + The parsed message. + The JSON does not comply with RFC 7159 + The JSON does not represent a Protocol Buffers message correctly + + + + Helper methods for throwing exceptions when preconditions are not met. + + + This class is used internally and by generated code; it is not particularly + expected to be used from application code, although nothing prevents it + from being used that way. + + + + + Throws an ArgumentNullException if the given value is null, otherwise + return the value to the caller. + + + + + Throws an ArgumentNullException if the given value is null, otherwise + return the value to the caller. + + + This is equivalent to but without the type parameter + constraint. In most cases, the constraint is useful to prevent you from calling CheckNotNull + with a value type - but it gets in the way if either you want to use it with a nullable + value type, or you want to use it with an unconstrained type parameter. + + + + + Container for a set of custom options specified within a message, field etc. + + + + This type is publicly immutable, but internally mutable. It is only populated + by the descriptor parsing code - by the time any user code is able to see an instance, + it will be fully initialized. + + + If an option is requested using the incorrect method, an answer may still be returned: all + of the numeric types are represented internally using 64-bit integers, for example. It is up to + the caller to ensure that they make the appropriate method call for the option they're interested in. + Note that enum options are simply stored as integers, so the value should be fetched using + and then cast appropriately. + + + Repeated options are currently not supported. Asking for a single value of an option + which was actually repeated will return the last value, except for message types where + all the set values are merged together. + + + + + + Singleton for all descriptors with an empty set of options. + + + + + A sequence of values per field. This needs to be per field rather than per tag to allow correct deserialization + of repeated fields which could be "int, ByteString, int" - unlikely as that is. The fact that values are boxed + is unfortunate; we might be able to use a struct instead, and we could combine uint and ulong values. + + + + + Retrieves a Boolean value for the specified option field. + + The field to fetch the value for. + The output variable to populate. + true if a suitable value for the field was found; false otherwise. + + + + Retrieves a signed 32-bit integer value for the specified option field. + + The field to fetch the value for. + The output variable to populate. + true if a suitable value for the field was found; false otherwise. + + + + Retrieves a signed 64-bit integer value for the specified option field. + + The field to fetch the value for. + The output variable to populate. + true if a suitable value for the field was found; false otherwise. + + + + Retrieves an unsigned 32-bit integer value for the specified option field, + assuming a fixed-length representation. + + The field to fetch the value for. + The output variable to populate. + true if a suitable value for the field was found; false otherwise. + + + + Retrieves an unsigned 64-bit integer value for the specified option field, + assuming a fixed-length representation. + + The field to fetch the value for. + The output variable to populate. + true if a suitable value for the field was found; false otherwise. + + + + Retrieves a signed 32-bit integer value for the specified option field, + assuming a fixed-length representation. + + The field to fetch the value for. + The output variable to populate. + true if a suitable value for the field was found; false otherwise. + + + + Retrieves a signed 64-bit integer value for the specified option field, + assuming a fixed-length representation. + + The field to fetch the value for. + The output variable to populate. + true if a suitable value for the field was found; false otherwise. + + + + Retrieves a signed 32-bit integer value for the specified option field, + assuming a zigzag encoding. + + The field to fetch the value for. + The output variable to populate. + true if a suitable value for the field was found; false otherwise. + + + + Retrieves a signed 64-bit integer value for the specified option field, + assuming a zigzag encoding. + + The field to fetch the value for. + The output variable to populate. + true if a suitable value for the field was found; false otherwise. + + + + Retrieves an unsigned 32-bit integer value for the specified option field. + + The field to fetch the value for. + The output variable to populate. + true if a suitable value for the field was found; false otherwise. + + + + Retrieves an unsigned 64-bit integer value for the specified option field. + + The field to fetch the value for. + The output variable to populate. + true if a suitable value for the field was found; false otherwise. + + + + Retrieves a 32-bit floating point value for the specified option field. + + The field to fetch the value for. + The output variable to populate. + true if a suitable value for the field was found; false otherwise. + + + + Retrieves a 64-bit floating point value for the specified option field. + + The field to fetch the value for. + The output variable to populate. + true if a suitable value for the field was found; false otherwise. + + + + Retrieves a string value for the specified option field. + + The field to fetch the value for. + The output variable to populate. + true if a suitable value for the field was found; false otherwise. + + + + Retrieves a bytes value for the specified option field. + + The field to fetch the value for. + The output variable to populate. + true if a suitable value for the field was found; false otherwise. + + + + Retrieves a message value for the specified option field. + + The field to fetch the value for. + The output variable to populate. + true if a suitable value for the field was found; false otherwise. + + + + Reads an unknown field, either parsing it and storing it or skipping it. + + + If the current set of options is empty and we manage to read a field, a new set of options + will be created and returned. Otherwise, the return value is this. This allows + us to start with a singleton empty set of options and just create new ones where necessary. + + Input stream to read from. + The resulting set of custom options, either this or a new set. + + + + All field values can be stored as a byte string or a 64-bit integer. + This struct avoids unnecessary boxing. + + + + Holder for reflection information generated from google/protobuf/descriptor.proto + + + File descriptor for google/protobuf/descriptor.proto + + + + The protocol compiler can output a FileDescriptorSet containing the .proto + files it parses. + + + + Field number for the "file" field. + + + + Describes a complete .proto file. + + + + Field number for the "name" field. + + + + file name, relative to root of source tree + + + + Field number for the "package" field. + + + + e.g. "foo", "foo.bar", etc. + + + + Field number for the "dependency" field. + + + + Names of files imported by this file. + + + + Field number for the "public_dependency" field. + + + + Indexes of the public imported files in the dependency list above. + + + + Field number for the "weak_dependency" field. + + + + Indexes of the weak imported files in the dependency list. + For Google-internal migration only. Do not use. + + + + Field number for the "message_type" field. + + + + All top-level definitions in this file. + + + + Field number for the "enum_type" field. + + + Field number for the "service" field. + + + Field number for the "extension" field. + + + Field number for the "options" field. + + + Field number for the "source_code_info" field. + + + + This field contains optional information about the original source code. + You may safely remove this entire field without harming runtime + functionality of the descriptors -- the information is needed only by + development tools. + + + + Field number for the "syntax" field. + + + + The syntax of the proto file. + The supported values are "proto2" and "proto3". + + + + + Describes a message type. + + + + Field number for the "name" field. + + + Field number for the "field" field. + + + Field number for the "extension" field. + + + Field number for the "nested_type" field. + + + Field number for the "enum_type" field. + + + Field number for the "extension_range" field. + + + Field number for the "oneof_decl" field. + + + Field number for the "options" field. + + + Field number for the "reserved_range" field. + + + Field number for the "reserved_name" field. + + + + Reserved field names, which may not be used by fields in the same message. + A given name may only be reserved once. + + + + Container for nested types declared in the DescriptorProto message type. + + + Field number for the "start" field. + + + Field number for the "end" field. + + + Field number for the "options" field. + + + + Range of reserved tag numbers. Reserved tag numbers may not be used by + fields or extension ranges in the same message. Reserved ranges may + not overlap. + + + + Field number for the "start" field. + + + + Inclusive. + + + + Field number for the "end" field. + + + + Exclusive. + + + + Field number for the "uninterpreted_option" field. + + + + The parser stores options it doesn't recognize here. See above. + + + + + Describes a field within a message. + + + + Field number for the "name" field. + + + Field number for the "number" field. + + + Field number for the "label" field. + + + Field number for the "type" field. + + + + If type_name is set, this need not be set. If both this and type_name + are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. + + + + Field number for the "type_name" field. + + + + For message and enum types, this is the name of the type. If the name + starts with a '.', it is fully-qualified. Otherwise, C++-like scoping + rules are used to find the type (i.e. first the nested types within this + message are searched, then within the parent, on up to the root + namespace). + + + + Field number for the "extendee" field. + + + + For extensions, this is the name of the type being extended. It is + resolved in the same manner as type_name. + + + + Field number for the "default_value" field. + + + + For numeric types, contains the original text representation of the value. + For booleans, "true" or "false". + For strings, contains the default text contents (not escaped in any way). + For bytes, contains the C escaped value. All bytes >= 128 are escaped. + TODO(kenton): Base-64 encode? + + + + Field number for the "oneof_index" field. + + + + If set, gives the index of a oneof in the containing type's oneof_decl + list. This field is a member of that oneof. + + + + Field number for the "json_name" field. + + + + JSON name of this field. The value is set by protocol compiler. If the + user has set a "json_name" option on this field, that option's value + will be used. Otherwise, it's deduced from the field's name by converting + it to camelCase. + + + + Field number for the "options" field. + + + Container for nested types declared in the FieldDescriptorProto message type. + + + + 0 is reserved for errors. + Order is weird for historical reasons. + + + + + Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if + negative values are likely. + + + + + Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if + negative values are likely. + + + + + Tag-delimited aggregate. + Group type is deprecated and not supported in proto3. However, Proto3 + implementations should still be able to parse the group wire format and + treat group fields as unknown fields. + + + + + Length-delimited aggregate. + + + + + New in version 2. + + + + + Uses ZigZag encoding. + + + + + Uses ZigZag encoding. + + + + + 0 is reserved for errors + + + + + Describes a oneof. + + + + Field number for the "name" field. + + + Field number for the "options" field. + + + + Describes an enum type. + + + + Field number for the "name" field. + + + Field number for the "value" field. + + + Field number for the "options" field. + + + Field number for the "reserved_range" field. + + + + Range of reserved numeric values. Reserved numeric values may not be used + by enum values in the same enum declaration. Reserved ranges may not + overlap. + + + + Field number for the "reserved_name" field. + + + + Reserved enum value names, which may not be reused. A given name may only + be reserved once. + + + + Container for nested types declared in the EnumDescriptorProto message type. + + + + Range of reserved numeric values. Reserved values may not be used by + entries in the same enum. Reserved ranges may not overlap. + + Note that this is distinct from DescriptorProto.ReservedRange in that it + is inclusive such that it can appropriately represent the entire int32 + domain. + + + + Field number for the "start" field. + + + + Inclusive. + + + + Field number for the "end" field. + + + + Inclusive. + + + + + Describes a value within an enum. + + + + Field number for the "name" field. + + + Field number for the "number" field. + + + Field number for the "options" field. + + + + Describes a service. + + + + Field number for the "name" field. + + + Field number for the "method" field. + + + Field number for the "options" field. + + + + Describes a method of a service. + + + + Field number for the "name" field. + + + Field number for the "input_type" field. + + + + Input and output type names. These are resolved in the same way as + FieldDescriptorProto.type_name, but must refer to a message type. + + + + Field number for the "output_type" field. + + + Field number for the "options" field. + + + Field number for the "client_streaming" field. + + + + Identifies if client streams multiple client messages + + + + Field number for the "server_streaming" field. + + + + Identifies if server streams multiple server messages + + + + Field number for the "java_package" field. + + + + Sets the Java package where classes generated from this .proto will be + placed. By default, the proto package is used, but this is often + inappropriate because proto packages do not normally start with backwards + domain names. + + + + Field number for the "java_outer_classname" field. + + + + If set, all the classes from the .proto file are wrapped in a single + outer class with the given name. This applies to both Proto1 + (equivalent to the old "--one_java_file" option) and Proto2 (where + a .proto always translates to a single class, but you may want to + explicitly choose the class name). + + + + Field number for the "java_multiple_files" field. + + + + If set true, then the Java code generator will generate a separate .java + file for each top-level message, enum, and service defined in the .proto + file. Thus, these types will *not* be nested inside the outer class + named by java_outer_classname. However, the outer class will still be + generated to contain the file's getDescriptor() method as well as any + top-level extensions defined in the file. + + + + Field number for the "java_generate_equals_and_hash" field. + + + + This option does nothing. + + + + Field number for the "java_string_check_utf8" field. + + + + If set true, then the Java2 code generator will generate code that + throws an exception whenever an attempt is made to assign a non-UTF-8 + byte sequence to a string field. + Message reflection will do the same. + However, an extension field still accepts non-UTF-8 byte sequences. + This option has no effect on when used with the lite runtime. + + + + Field number for the "optimize_for" field. + + + Field number for the "go_package" field. + + + + Sets the Go package where structs generated from this .proto will be + placed. If omitted, the Go package will be derived from the following: + - The basename of the package import path, if provided. + - Otherwise, the package statement in the .proto file, if present. + - Otherwise, the basename of the .proto file, without extension. + + + + Field number for the "cc_generic_services" field. + + + + Should generic services be generated in each language? "Generic" services + are not specific to any particular RPC system. They are generated by the + main code generators in each language (without additional plugins). + Generic services were the only kind of service generation supported by + early versions of google.protobuf. + + Generic services are now considered deprecated in favor of using plugins + that generate code specific to your particular RPC system. Therefore, + these default to false. Old code which depends on generic services should + explicitly set them to true. + + + + Field number for the "java_generic_services" field. + + + Field number for the "py_generic_services" field. + + + Field number for the "php_generic_services" field. + + + Field number for the "deprecated" field. + + + + Is this file deprecated? + Depending on the target platform, this can emit Deprecated annotations + for everything in the file, or it will be completely ignored; in the very + least, this is a formalization for deprecating files. + + + + Field number for the "cc_enable_arenas" field. + + + + Enables the use of arenas for the proto messages in this file. This applies + only to generated classes for C++. + + + + Field number for the "objc_class_prefix" field. + + + + Sets the objective c class prefix which is prepended to all objective c + generated classes from this .proto. There is no default. + + + + Field number for the "csharp_namespace" field. + + + + Namespace for generated classes; defaults to the package. + + + + Field number for the "swift_prefix" field. + + + + By default Swift generators will take the proto package and CamelCase it + replacing '.' with underscore and use that to prefix the types/symbols + defined. When this options is provided, they will use this value instead + to prefix the types/symbols defined. + + + + Field number for the "php_class_prefix" field. + + + + Sets the php class prefix which is prepended to all php generated classes + from this .proto. Default is empty. + + + + Field number for the "php_namespace" field. + + + + Use this option to change the namespace of php generated classes. Default + is empty. When this option is empty, the package name will be used for + determining the namespace. + + + + Field number for the "uninterpreted_option" field. + + + + The parser stores options it doesn't recognize here. + See the documentation for the "Options" section above. + + + + Container for nested types declared in the FileOptions message type. + + + + Generated classes can be optimized for speed or code size. + + + + + Generate complete code for parsing, serialization, + + + + + etc. + + + + + Generate code using MessageLite and the lite runtime. + + + + Field number for the "message_set_wire_format" field. + + + + Set true to use the old proto1 MessageSet wire format for extensions. + This is provided for backwards-compatibility with the MessageSet wire + format. You should not use this for any other reason: It's less + efficient, has fewer features, and is more complicated. + + The message must be defined exactly as follows: + message Foo { + option message_set_wire_format = true; + extensions 4 to max; + } + Note that the message cannot have any defined fields; MessageSets only + have extensions. + + All extensions of your type must be singular messages; e.g. they cannot + be int32s, enums, or repeated messages. + + Because this is an option, the above two restrictions are not enforced by + the protocol compiler. + + + + Field number for the "no_standard_descriptor_accessor" field. + + + + Disables the generation of the standard "descriptor()" accessor, which can + conflict with a field of the same name. This is meant to make migration + from proto1 easier; new code should avoid fields named "descriptor". + + + + Field number for the "deprecated" field. + + + + Is this message deprecated? + Depending on the target platform, this can emit Deprecated annotations + for the message, or it will be completely ignored; in the very least, + this is a formalization for deprecating messages. + + + + Field number for the "map_entry" field. + + + + Whether the message is an automatically generated map entry type for the + maps field. + + For maps fields: + map<KeyType, ValueType> map_field = 1; + The parsed descriptor looks like: + message MapFieldEntry { + option map_entry = true; + optional KeyType key = 1; + optional ValueType value = 2; + } + repeated MapFieldEntry map_field = 1; + + Implementations may choose not to generate the map_entry=true message, but + use a native map in the target language to hold the keys and values. + The reflection APIs in such implementions still need to work as + if the field is a repeated message field. + + NOTE: Do not set the option in .proto files. Always use the maps syntax + instead. The option should only be implicitly set by the proto compiler + parser. + + + + Field number for the "uninterpreted_option" field. + + + + The parser stores options it doesn't recognize here. See above. + + + + Field number for the "ctype" field. + + + + The ctype option instructs the C++ code generator to use a different + representation of the field than it normally would. See the specific + options below. This option is not yet implemented in the open source + release -- sorry, we'll try to include it in a future version! + + + + Field number for the "packed" field. + + + + The packed option can be enabled for repeated primitive fields to enable + a more efficient representation on the wire. Rather than repeatedly + writing the tag and type for each element, the entire array is encoded as + a single length-delimited blob. In proto3, only explicit setting it to + false will avoid using packed encoding. + + + + Field number for the "jstype" field. + + + + The jstype option determines the JavaScript type used for values of the + field. The option is permitted only for 64 bit integral and fixed types + (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING + is represented as JavaScript string, which avoids loss of precision that + can happen when a large value is converted to a floating point JavaScript. + Specifying JS_NUMBER for the jstype causes the generated JavaScript code to + use the JavaScript "number" type. The behavior of the default option + JS_NORMAL is implementation dependent. + + This option is an enum to permit additional types to be added, e.g. + goog.math.Integer. + + + + Field number for the "lazy" field. + + + + Should this field be parsed lazily? Lazy applies only to message-type + fields. It means that when the outer message is initially parsed, the + inner message's contents will not be parsed but instead stored in encoded + form. The inner message will actually be parsed when it is first accessed. + + This is only a hint. Implementations are free to choose whether to use + eager or lazy parsing regardless of the value of this option. However, + setting this option true suggests that the protocol author believes that + using lazy parsing on this field is worth the additional bookkeeping + overhead typically needed to implement it. + + This option does not affect the public interface of any generated code; + all method signatures remain the same. Furthermore, thread-safety of the + interface is not affected by this option; const methods remain safe to + call from multiple threads concurrently, while non-const methods continue + to require exclusive access. + + Note that implementations may choose not to check required fields within + a lazy sub-message. That is, calling IsInitialized() on the outer message + may return true even if the inner message has missing required fields. + This is necessary because otherwise the inner message would have to be + parsed in order to perform the check, defeating the purpose of lazy + parsing. An implementation which chooses not to check required fields + must be consistent about it. That is, for any particular sub-message, the + implementation must either *always* check its required fields, or *never* + check its required fields, regardless of whether or not the message has + been parsed. + + + + Field number for the "deprecated" field. + + + + Is this field deprecated? + Depending on the target platform, this can emit Deprecated annotations + for accessors, or it will be completely ignored; in the very least, this + is a formalization for deprecating fields. + + + + Field number for the "weak" field. + + + + For Google-internal migration only. Do not use. + + + + Field number for the "uninterpreted_option" field. + + + + The parser stores options it doesn't recognize here. See above. + + + + Container for nested types declared in the FieldOptions message type. + + + + Default mode. + + + + + Use the default type. + + + + + Use JavaScript strings. + + + + + Use JavaScript numbers. + + + + Field number for the "uninterpreted_option" field. + + + + The parser stores options it doesn't recognize here. See above. + + + + Field number for the "allow_alias" field. + + + + Set this option to true to allow mapping different tag names to the same + value. + + + + Field number for the "deprecated" field. + + + + Is this enum deprecated? + Depending on the target platform, this can emit Deprecated annotations + for the enum, or it will be completely ignored; in the very least, this + is a formalization for deprecating enums. + + + + Field number for the "uninterpreted_option" field. + + + + The parser stores options it doesn't recognize here. See above. + + + + Field number for the "deprecated" field. + + + + Is this enum value deprecated? + Depending on the target platform, this can emit Deprecated annotations + for the enum value, or it will be completely ignored; in the very least, + this is a formalization for deprecating enum values. + + + + Field number for the "uninterpreted_option" field. + + + + The parser stores options it doesn't recognize here. See above. + + + + Field number for the "deprecated" field. + + + + Is this service deprecated? + Depending on the target platform, this can emit Deprecated annotations + for the service, or it will be completely ignored; in the very least, + this is a formalization for deprecating services. + + + + Field number for the "uninterpreted_option" field. + + + + The parser stores options it doesn't recognize here. See above. + + + + Field number for the "deprecated" field. + + + + Is this method deprecated? + Depending on the target platform, this can emit Deprecated annotations + for the method, or it will be completely ignored; in the very least, + this is a formalization for deprecating methods. + + + + Field number for the "idempotency_level" field. + + + Field number for the "uninterpreted_option" field. + + + + The parser stores options it doesn't recognize here. See above. + + + + Container for nested types declared in the MethodOptions message type. + + + + Is this method side-effect-free (or safe in HTTP parlance), or idempotent, + or neither? HTTP based RPC implementation may choose GET verb for safe + methods, and PUT verb for idempotent methods instead of the default POST. + + + + + implies idempotent + + + + + idempotent, but may have side effects + + + + + A message representing a option the parser does not recognize. This only + appears in options protos created by the compiler::Parser class. + DescriptorPool resolves these when building Descriptor objects. Therefore, + options protos in descriptor objects (e.g. returned by Descriptor::options(), + or produced by Descriptor::CopyTo()) will never have UninterpretedOptions + in them. + + + + Field number for the "name" field. + + + Field number for the "identifier_value" field. + + + + The value of the uninterpreted option, in whatever type the tokenizer + identified it as during parsing. Exactly one of these should be set. + + + + Field number for the "positive_int_value" field. + + + Field number for the "negative_int_value" field. + + + Field number for the "double_value" field. + + + Field number for the "string_value" field. + + + Field number for the "aggregate_value" field. + + + Container for nested types declared in the UninterpretedOption message type. + + + + The name of the uninterpreted option. Each string represents a segment in + a dot-separated name. is_extension is true iff a segment represents an + extension (denoted with parentheses in options specs in .proto files). + E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents + "foo.(bar.baz).qux". + + + + Field number for the "name_part" field. + + + Field number for the "is_extension" field. + + + + Encapsulates information about the original source file from which a + FileDescriptorProto was generated. + + + + Field number for the "location" field. + + + + A Location identifies a piece of source code in a .proto file which + corresponds to a particular definition. This information is intended + to be useful to IDEs, code indexers, documentation generators, and similar + tools. + + For example, say we have a file like: + message Foo { + optional string foo = 1; + } + Let's look at just the field definition: + optional string foo = 1; + ^ ^^ ^^ ^ ^^^ + a bc de f ghi + We have the following locations: + span path represents + [a,i) [ 4, 0, 2, 0 ] The whole field definition. + [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). + [c,d) [ 4, 0, 2, 0, 5 ] The type (string). + [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). + [g,h) [ 4, 0, 2, 0, 3 ] The number (1). + + Notes: + - A location may refer to a repeated field itself (i.e. not to any + particular index within it). This is used whenever a set of elements are + logically enclosed in a single code segment. For example, an entire + extend block (possibly containing multiple extension definitions) will + have an outer location whose path refers to the "extensions" repeated + field without an index. + - Multiple locations may have the same path. This happens when a single + logical declaration is spread out across multiple places. The most + obvious example is the "extend" block again -- there may be multiple + extend blocks in the same scope, each of which will have the same path. + - A location's span is not always a subset of its parent's span. For + example, the "extendee" of an extension declaration appears at the + beginning of the "extend" block and is shared by all extensions within + the block. + - Just because a location's span is a subset of some other location's span + does not mean that it is a descendent. For example, a "group" defines + both a type and a field in a single declaration. Thus, the locations + corresponding to the type and field and their components will overlap. + - Code which tries to interpret locations should probably be designed to + ignore those that it doesn't understand, as more types of locations could + be recorded in the future. + + + + Container for nested types declared in the SourceCodeInfo message type. + + + Field number for the "path" field. + + + + Identifies which part of the FileDescriptorProto was defined at this + location. + + Each element is a field number or an index. They form a path from + the root FileDescriptorProto to the place where the definition. For + example, this path: + [ 4, 3, 2, 7, 1 ] + refers to: + file.message_type(3) // 4, 3 + .field(7) // 2, 7 + .name() // 1 + This is because FileDescriptorProto.message_type has field number 4: + repeated DescriptorProto message_type = 4; + and DescriptorProto.field has field number 2: + repeated FieldDescriptorProto field = 2; + and FieldDescriptorProto.name has field number 1: + optional string name = 1; + + Thus, the above path gives the location of a field name. If we removed + the last element: + [ 4, 3, 2, 7 ] + this path refers to the whole field declaration (from the beginning + of the label to the terminating semicolon). + + + + Field number for the "span" field. + + + + Always has exactly three or four elements: start line, start column, + end line (optional, otherwise assumed same as start line), end column. + These are packed into a single field for efficiency. Note that line + and column numbers are zero-based -- typically you will want to add + 1 to each before displaying to a user. + + + + Field number for the "leading_comments" field. + + + + If this SourceCodeInfo represents a complete declaration, these are any + comments appearing before and after the declaration which appear to be + attached to the declaration. + + A series of line comments appearing on consecutive lines, with no other + tokens appearing on those lines, will be treated as a single comment. + + leading_detached_comments will keep paragraphs of comments that appear + before (but not connected to) the current element. Each paragraph, + separated by empty lines, will be one comment element in the repeated + field. + + Only the comment content is provided; comment markers (e.g. //) are + stripped out. For block comments, leading whitespace and an asterisk + will be stripped from the beginning of each line other than the first. + Newlines are included in the output. + + Examples: + + optional int32 foo = 1; // Comment attached to foo. + // Comment attached to bar. + optional int32 bar = 2; + + optional string baz = 3; + // Comment attached to baz. + // Another line attached to baz. + + // Comment attached to qux. + // + // Another line attached to qux. + optional double qux = 4; + + // Detached comment for corge. This is not leading or trailing comments + // to qux or corge because there are blank lines separating it from + // both. + + // Detached comment for corge paragraph 2. + + optional string corge = 5; + /* Block comment attached + * to corge. Leading asterisks + * will be removed. */ + /* Block comment attached to + * grault. */ + optional int32 grault = 6; + + // ignored detached comments. + + + + Field number for the "trailing_comments" field. + + + Field number for the "leading_detached_comments" field. + + + + Describes the relationship between generated code and its original source + file. A GeneratedCodeInfo message is associated with only one generated + source file, but may contain references to different source .proto files. + + + + Field number for the "annotation" field. + + + + An Annotation connects some span of text in generated code to an element + of its generating .proto file. + + + + Container for nested types declared in the GeneratedCodeInfo message type. + + + Field number for the "path" field. + + + + Identifies the element in the original source .proto file. This field + is formatted the same as SourceCodeInfo.Location.path. + + + + Field number for the "source_file" field. + + + + Identifies the filesystem path to the original source .proto. + + + + Field number for the "begin" field. + + + + Identifies the starting offset in bytes in the generated code + that relates to the identified object. + + + + Field number for the "end" field. + + + + Identifies the ending offset in bytes in the generated code that + relates to the identified offset. The end offset should be one past + the last relevant byte (so the length of the text = end - begin). + + + + + Base class for nearly all descriptors, providing common functionality. + + + + + The index of this descriptor within its parent descriptor. + + + This returns the index of this descriptor within its parent, for + this descriptor's type. (There can be duplicate values for different + types, e.g. one enum type with index 0 and one message type with index 0.) + + + + + Returns the name of the entity (field, message etc) being described. + + + + + The fully qualified name of the descriptor's target. + + + + + The file this descriptor was declared in. + + + + + Contains lookup tables containing all the descriptors defined in a particular file. + + + + + Finds a symbol of the given name within the pool. + + The type of symbol to look for + Fully-qualified name to look up + The symbol with the given name and type, + or null if the symbol doesn't exist or has the wrong type + + + + Adds a package to the symbol tables. If a package by the same name + already exists, that is fine, but if some other kind of symbol + exists under the same name, an exception is thrown. If the package + has multiple components, this also adds the parent package(s). + + + + + Adds a symbol to the symbol table. + + The symbol already existed + in the symbol table. + + + + Verifies that the descriptor's name is valid (i.e. it contains + only letters, digits and underscores, and does not start with a digit). + + + + + + Returns the field with the given number in the given descriptor, + or null if it can't be found. + + + + + Adds a field to the fieldsByNumber table. + + A field with the same + containing type and number already exists. + + + + Adds an enum value to the enumValuesByNumber table. If an enum value + with the same type and number already exists, this method does nothing. + (This is allowed; the first value defined with the number takes precedence.) + + + + + Looks up a descriptor by name, relative to some other descriptor. + The name may be fully-qualified (with a leading '.'), partially-qualified, + or unqualified. C++-like name lookup semantics are used to search for the + matching descriptor. + + + This isn't heavily optimized, but it's only used during cross linking anyway. + If it starts being used more widely, we should look at performance more carefully. + + + + + Struct used to hold the keys for the fieldByNumber table. + + + + + Internal class containing utility methods when working with descriptors. + + + + + Equivalent to Func[TInput, int, TOutput] but usable in .NET 2.0. Only used to convert + arrays. + + + + + Converts the given array into a read-only list, applying the specified conversion to + each input element. + + + + + Thrown when building descriptors fails because the source DescriptorProtos + are not valid. + + + + + The full name of the descriptor where the error occurred. + + + + + A human-readable description of the error. (The Message property + is made up of the descriptor's name and this description.) + + + + + Descriptor for an enum type in a .proto file. + + + + + The brief name of the descriptor's target. + + + + + The CLR type for this enum. For generated code, this will be a CLR enum type. + + + + + If this is a nested type, get the outer descriptor, otherwise null. + + + + + An unmodifiable list of defined value descriptors for this enum. + + + + + Finds an enum value by number. If multiple enum values have the + same number, this returns the first defined value with that number. + If there is no value for the given number, this returns null. + + + + + Finds an enum value by name. + + The unqualified name of the value (e.g. "FOO"). + The value's descriptor, or null if not found. + + + + The (possibly empty) set of custom options for this enum. + + + + + Descriptor for a single enum value within an enum in a .proto file. + + + + + Returns the name of the enum value described by this object. + + + + + Returns the number associated with this enum value. + + + + + Returns the enum descriptor that this value is part of. + + + + + The (possibly empty) set of custom options for this enum value. + + + + + Base class for field accessors. + + + + + Descriptor for a field or extension within a message in a .proto file. + + + + + Get the field's containing message type. + + + + + Returns the oneof containing this field, or null if it is not part of a oneof. + + + + + The effective JSON name for this field. This is usually the lower-camel-cased form of the field name, + but can be overridden using the json_name option in the .proto file. + + + + + The brief name of the descriptor's target. + + + + + Returns the accessor for this field. + + + + While a describes the field, it does not provide + any way of obtaining or changing the value of the field within a specific message; + that is the responsibility of the accessor. + + + The value returned by this property will be non-null for all regular fields. However, + if a message containing a map field is introspected, the list of nested messages will include + an auto-generated nested key/value pair message for the field. This is not represented in any + generated type, and the value of the map field itself is represented by a dictionary in the + reflection API. There are never instances of those "hidden" messages, so no accessor is provided + and this property will return null. + + + + + + Maps a field type as included in the .proto file to a FieldType. + + + + + Returns true if this field is a repeated field; false otherwise. + + + + + Returns true if this field is a map field; false otherwise. + + + + + Returns true if this field is a packed, repeated field; false otherwise. + + + + + Returns the type of the field. + + + + + Returns the field number declared in the proto file. + + + + + Compares this descriptor with another one, ordering in "canonical" order + which simply means ascending order by field number. + must be a field of the same type, i.e. the of + both fields must be the same. + + + + + For enum fields, returns the field's type. + + + + + For embedded message and group fields, returns the field's type. + + + + + The (possibly empty) set of custom options for this field. + + + + + Look up and cross-link all field types etc. + + + + + Enumeration of all the possible field types. + + + + + The double field type. + + + + + The float field type. + + + + + The int64 field type. + + + + + The uint64 field type. + + + + + The int32 field type. + + + + + The fixed64 field type. + + + + + The fixed32 field type. + + + + + The bool field type. + + + + + The string field type. + + + + + The field type used for groups (not supported in this implementation). + + + + + The field type used for message fields. + + + + + The bytes field type. + + + + + The uint32 field type. + + + + + The sfixed32 field type. + + + + + The sfixed64 field type. + + + + + The sint32 field type. + + + + + The sint64 field type. + + + + + The field type used for enum fields. + + + + + Describes a .proto file, including everything defined within. + IDescriptor is implemented such that the File property returns this descriptor, + and the FullName is the same as the Name. + + + + + Computes the full name of a descriptor within this file, with an optional parent message. + + + + + Extracts public dependencies from direct dependencies. This is a static method despite its + first parameter, as the value we're in the middle of constructing is only used for exceptions. + + + + + The descriptor in its protocol message representation. + + + + + The file name. + + + + + The package as declared in the .proto file. This may or may not + be equivalent to the .NET namespace of the generated classes. + + + + + Unmodifiable list of top-level message types declared in this file. + + + + + Unmodifiable list of top-level enum types declared in this file. + + + + + Unmodifiable list of top-level services declared in this file. + + + + + Unmodifiable list of this file's dependencies (imports). + + + + + Unmodifiable list of this file's public dependencies (public imports). + + + + + The original serialized binary form of this descriptor. + + + + + Implementation of IDescriptor.FullName - just returns the same as Name. + + + + + Implementation of IDescriptor.File - just returns this descriptor. + + + + + Pool containing symbol descriptors. + + + + + Finds a type (message, enum, service or extension) in the file by name. Does not find nested types. + + The unqualified type name to look for. + The type of descriptor to look for + The type's descriptor, or null if not found. + + + + Builds a FileDescriptor from its protocol buffer representation. + + The original serialized descriptor data. + We have only limited proto2 support, so serializing FileDescriptorProto + would not necessarily give us this. + The protocol message form of the FileDescriptor. + FileDescriptors corresponding to all of the + file's dependencies, in the exact order listed in the .proto file. May be null, + in which case it is treated as an empty array. + Whether unknown dependencies are ignored (true) or cause an exception to be thrown (false). + Details about generated code, for the purposes of reflection. + If is not + a valid descriptor. This can occur for a number of reasons, such as a field + having an undefined type or because two messages were defined with the same name. + + + + Creates a descriptor for generated code. + + + This method is only designed to be used by the results of generating code with protoc, + which creates the appropriate dependencies etc. It has to be public because the generated + code is "external", but should not be called directly by end users. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns the file descriptor for descriptor.proto. + + + This is used for protos which take a direct dependency on descriptor.proto, typically for + annotations. While descriptor.proto is a proto2 file, it is built into the Google.Protobuf + runtime for reflection purposes. The messages are internal to the runtime as they would require + proto2 semantics for full support, but the file descriptor is available via this property. The + C# codegen in protoc automatically uses this property when it detects a dependency on descriptor.proto. + + + The file descriptor for descriptor.proto. + + + + + The (possibly empty) set of custom options for this file. + + + + + Extra information provided by generated code when initializing a message or file descriptor. + These are constructed as required, and are not long-lived. Hand-written code should + never need to use this type. + + + + + Irrelevant for file descriptors; the CLR type for the message for message descriptors. + + + + + Irrelevant for file descriptors; the parser for message descriptors. + + + + + Irrelevant for file descriptors; the CLR property names (in message descriptor field order) + for fields in the message for message descriptors. + + + + + Irrelevant for file descriptors; the CLR property "base" names (in message descriptor oneof order) + for oneofs in the message for message descriptors. It is expected that for a oneof name of "Foo", + there will be a "FooCase" property and a "ClearFoo" method. + + + + + The reflection information for types within this file/message descriptor. Elements may be null + if there is no corresponding generated type, e.g. for map entry types. + + + + + The CLR types for enums within this file/message descriptor. + + + + + Creates a GeneratedClrTypeInfo for a message descriptor, with nested types, nested enums, the CLR type, property names and oneof names. + Each array parameter may be null, to indicate a lack of values. + The parameter order is designed to make it feasible to format the generated code readably. + + + + + Creates a GeneratedClrTypeInfo for a file descriptor, with only types and enums. + + + + + Interface implemented by all descriptor types. + + + + + Returns the name of the entity (message, field etc) being described. + + + + + Returns the fully-qualified name of the entity being described. + + + + + Returns the descriptor for the .proto file that this entity is part of. + + + + + Allows fields to be reflectively accessed. + + + + + Returns the descriptor associated with this field. + + + + + Clears the field in the specified message. (For repeated fields, + this clears the list.) + + + + + Fetches the field value. For repeated values, this will be an + implementation. For map values, this will be an + implementation. + + + + + Mutator for single "simple" fields only. + + + Repeated fields are mutated by fetching the value and manipulating it as a list. + Map fields are mutated by fetching the value and manipulating it as a dictionary. + + The field is not a "simple" field. + + + + Accessor for map fields. + + + + + Describes a message type. + + + + + The brief name of the descriptor's target. + + + + + The CLR type used to represent message instances from this descriptor. + + + + The value returned by this property will be non-null for all regular fields. However, + if a message containing a map field is introspected, the list of nested messages will include + an auto-generated nested key/value pair message for the field. This is not represented in any + generated type, so this property will return null in such cases. + + + For wrapper types ( and the like), the type returned here + will be the generated message type, not the native type used by reflection for fields of those types. Code + using reflection should call to determine whether a message descriptor represents + a wrapper type, and handle the result appropriately. + + + + + + A parser for this message type. + + + + As is not generic, this cannot be statically + typed to the relevant type, but it should produce objects of a type compatible with . + + + The value returned by this property will be non-null for all regular fields. However, + if a message containing a map field is introspected, the list of nested messages will include + an auto-generated nested key/value pair message for the field. No message parser object is created for + such messages, so this property will return null in such cases. + + + For wrapper types ( and the like), the parser returned here + will be the generated message type, not the native type used by reflection for fields of those types. Code + using reflection should call to determine whether a message descriptor represents + a wrapper type, and handle the result appropriately. + + + + + + Returns whether this message is one of the "well known types" which may have runtime/protoc support. + + + + + Returns whether this message is one of the "wrapper types" used for fields which represent primitive values + with the addition of presence. + + + + + If this is a nested type, get the outer descriptor, otherwise null. + + + + + A collection of fields, which can be retrieved by name or field number. + + + + + An unmodifiable list of this message type's nested types. + + + + + An unmodifiable list of this message type's enum types. + + + + + An unmodifiable list of the "oneof" field collections in this message type. + + + + + Finds a field by field name. + + The unqualified name of the field (e.g. "foo"). + The field's descriptor, or null if not found. + + + + Finds a field by field number. + + The field number within this message type. + The field's descriptor, or null if not found. + + + + Finds a nested descriptor by name. The is valid for fields, nested + message types, oneofs and enums. + + The unqualified name of the descriptor, e.g. "Foo" + The descriptor, or null if not found. + + + + The (possibly empty) set of custom options for this message. + + + + + Looks up and cross-links all fields and nested types. + + + + + A collection to simplify retrieving the field accessor for a particular field. + + + + + Returns the fields in the message as an immutable list, in the order in which they + are declared in the source .proto file. + + + + + Returns the fields in the message as an immutable list, in ascending field number + order. Field numbers need not be contiguous, so there is no direct mapping from the + index in the list to the field number; to retrieve a field by field number, it is better + to use the indexer. + + + + + Returns a read-only dictionary mapping the field names in this message as they're available + in the JSON representation to the field descriptors. For example, a field foo_bar + in the message would result two entries, one with a key fooBar and one with a key + foo_bar, both referring to the same field. + + + + + Retrieves the descriptor for the field with the given number. + + Number of the field to retrieve the descriptor for + The accessor for the given field + The message descriptor does not contain a field + with the given number + + + + Retrieves the descriptor for the field with the given name. + + Name of the field to retrieve the descriptor for + The descriptor for the given field + The message descriptor does not contain a field + with the given name + + + + Describes a single method in a service. + + + + + The service this method belongs to. + + + + + The method's input type. + + + + + The method's input type. + + + + + Indicates if client streams multiple requests. + + + + + Indicates if server streams multiple responses. + + + + + The (possibly empty) set of custom options for this method. + + + + + The brief name of the descriptor's target. + + + + + Reflection access for a oneof, allowing clear and "get case" actions. + + + + + Gets the descriptor for this oneof. + + + The descriptor of the oneof. + + + + + Clears the oneof in the specified message. + + + + + Indicates which field in the oneof is set for specified message + + + + + Describes a "oneof" field collection in a message type: a set of + fields of which at most one can be set in any particular message. + + + + + The brief name of the descriptor's target. + + + + + Gets the message type containing this oneof. + + + The message type containing this oneof. + + + + + Gets the fields within this oneof, in declaration order. + + + The fields within this oneof, in declaration order. + + + + + Gets an accessor for reflective access to the values associated with the oneof + in a particular message. + + + The accessor used for reflective access. + + + + + The (possibly empty) set of custom options for this oneof. + + + + + Specifies the original name (in the .proto file) of a named element, + such as an enum value. + + + + + The name of the element in the .proto file. + + + + + If the name is preferred in the .proto file. + + + + + Constructs a new attribute instance for the given name. + + The name of the element in the .proto file. + + + + Represents a package in the symbol table. We use PackageDescriptors + just as placeholders so that someone cannot define, say, a message type + that has the same name as an existing package. + + + + + The methods in this class are somewhat evil, and should not be tampered with lightly. + Basically they allow the creation of relatively weakly typed delegates from MethodInfos + which are more strongly typed. They do this by creating an appropriate strongly typed + delegate from the MethodInfo, and then calling that within an anonymous method. + Mind-bending stuff (at least to your humble narrator) but the resulting delegates are + very fast compared with calling Invoke later on. + + + + + Empty Type[] used when calling GetProperty to force property instead of indexer fetching. + + + + + Creates a delegate which will cast the argument to the appropriate method target type, + call the method on it, then convert the result to object. + + + + + Creates a delegate which will cast the argument to the appropriate method target type, + call the method on it, then convert the result to the specified type. + + + + + Creates a delegate which will execute the given method after casting the first argument to + the target type of the method, and the second argument to the first parameter type of the method. + + + + + Creates a delegate which will execute the given method after casting the first argument to + the target type of the method. + + + + + Accessor for repeated fields. + + + + + Describes a service type. + + + + + The brief name of the descriptor's target. + + + + + An unmodifiable list of methods in this service. + + + + + Finds a method by name. + + The unqualified name of the method (e.g. "Foo"). + The method's decsriptor, or null if not found. + + + + The (possibly empty) set of custom options for this service. + + + + + Accessor for single fields. + + + + + An immutable registry of types which can be looked up by their full name. + + + + + An empty type registry, containing no types. + + + + + Attempts to find a message descriptor by its full name. + + The full name of the message, which is the dot-separated + combination of package, containing messages and message name + The message descriptor corresponding to or null + if there is no such message descriptor. + + + + Creates a type registry from the specified set of file descriptors. + + + This is a convenience overload for + to allow calls such as TypeRegistry.FromFiles(descriptor1, descriptor2). + + The set of files to include in the registry. Must not contain null values. + A type registry for the given files. + + + + Creates a type registry from the specified set of file descriptors. + + + All message types within all the specified files are added to the registry, and + the dependencies of the specified files are also added, recursively. + + The set of files to include in the registry. Must not contain null values. + A type registry for the given files. + + + + Creates a type registry from the file descriptor parents of the specified set of message descriptors. + + + This is a convenience overload for + to allow calls such as TypeRegistry.FromFiles(descriptor1, descriptor2). + + The set of message descriptors to use to identify file descriptors to include in the registry. + Must not contain null values. + A type registry for the given files. + + + + Creates a type registry from the file descriptor parents of the specified set of message descriptors. + + + The specified message descriptors are only used to identify their file descriptors; the returned registry + contains all the types within the file descriptors which contain the specified message descriptors (and + the dependencies of those files), not just the specified messages. + + The set of message descriptors to use to identify file descriptors to include in the registry. + Must not contain null values. + A type registry for the given files. + + + + Builder class which isn't exposed, but acts as a convenient alternative to passing round two dictionaries in recursive calls. + + + + + Represents a single field in an UnknownFieldSet. + + An UnknownField consists of four lists of values. The lists correspond + to the four "wire types" used in the protocol buffer binary format. + Normally, only one of the four lists will contain any values, since it + is impossible to define a valid message type that declares two different + types for the same field number. However, the code is designed to allow + for the case where the same unknown field number is encountered using + multiple different wire types. + + + + + + Creates a new UnknownField. + + + + + Checks if two unknown field are equal. + + + + + Get the hash code of the unknown field. + + + + + Serializes the field, including the field number, and writes it to + + + The unknown field number. + The CodedOutputStream to write to. + + + + Computes the number of bytes required to encode this field, including field + number. + + + + + Merge the values in into this field. For each list + of values, 's values are append to the ones in this + field. + + + + + Returns a new list containing all of the given specified values from + both the and lists. + If is null and is empty, + null is returned. Otherwise, either a new list is created (if + is null) or the elements of are added to . + + + + + Adds a varint value. + + + + + Adds a fixed32 value. + + + + + Adds a fixed64 value. + + + + + Adds a length-delimited value. + + + + + Adds to the , creating + a new list if is null. The list is returned - either + the original reference or the new list. + + + + + Used to keep track of fields which were seen when parsing a protocol message + but whose field numbers or types are unrecognized. This most frequently + occurs when new fields are added to a message type and then messages containing + those fields are read by old software that was built before the new types were + added. + + Most users will never need to use this class directly. + + + + + Creates a new UnknownFieldSet. + + + + + Checks whether or not the given field number is present in the set. + + + + + Serializes the set and writes it to . + + + + + Gets the number of bytes required to encode this set. + + + + + Checks if two unknown field sets are equal. + + + + + Gets the unknown field set's hash code. + + + + + Adds a field to the set. If a field with the same number already exists, it + is replaced. + + + + + Parse a single field from and merge it + into this set. + + The coded input stream containing the field + false if the tag is an "end group" tag, true otherwise + + + + Create a new UnknownFieldSet if unknownFields is null. + Parse a single field from and merge it + into unknownFields. + + The UnknownFieldSet which need to be merged + The coded input stream containing the field + The merged UnknownFieldSet + + + + Merges the fields from into this set. + If a field number exists in both sets, the values in + will be appended to the values in this set. + + + + + Created a new UnknownFieldSet to if + needed and merges the fields from into the first set. + If a field number exists in both sets, the values in + will be appended to the values in this set. + + + + + Adds a field to the unknown field set. If a field with the same + number already exists, the two are merged. + + + + + Clone an unknown field set from . + + + + Holder for reflection information generated from google/protobuf/any.proto + + + File descriptor for google/protobuf/any.proto + + + + `Any` contains an arbitrary serialized protocol buffer message along with a + URL that describes the type of the serialized message. + + Protobuf library provides support to pack/unpack Any values in the form + of utility functions or additional generated methods of the Any type. + + Example 1: Pack and unpack a message in C++. + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + 'type.googleapis.com/full.type.name' as the type URL and the unpack + methods only use the fully qualified type name after the last '/' + in the type URL, for example "foo.bar.com/x/y.z" will yield type + name "y.z". + + JSON + ==== + The JSON representation of an `Any` value uses the regular + representation of the deserialized, embedded message, with an + additional field `@type` which contains the type URL. Example: + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": <string>, + "lastName": <string> + } + + If the embedded message type is well-known and has a custom JSON + representation, that representation will be embedded adding a field + `value` which holds the custom JSON in addition to the `@type` + field. Example (for message [google.protobuf.Duration][]): + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + + + + Field number for the "type_url" field. + + + + A URL/resource name whose content describes the type of the + serialized protocol buffer message. + + For URLs which use the scheme `http`, `https`, or no scheme, the + following restrictions and interpretations apply: + + * If no scheme is provided, `https` is assumed. + * The last segment of the URL's path must represent the fully + qualified name of the type (as in `path/google.protobuf.Duration`). + The name should be in a canonical form (e.g., leading "." is + not accepted). + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + + + + Field number for the "value" field. + + + + Must be a valid serialized protocol buffer of the above specified type. + + + + + Retrieves the type name for a type URL, matching the + of the packed message type. + + + + This is always just the last part of the URL, after the final slash. No validation of + anything before the trailing slash is performed. If the type URL does not include a slash, + an empty string is returned rather than an exception being thrown; this won't match any types, + and the calling code is probably in a better position to give a meaningful error. + + + There is no handling of fragments or queries at the moment. + + + The URL to extract the type name from + The type name + + + + Unpacks the content of this Any message into the target message type, + which must match the type URL within this Any message. + + The type of message to unpack the content into. + The unpacked message. + The target message type doesn't match the type URL in this message + + + + Attempts to unpack the content of this Any message into the target message type, + if it matches the type URL within this Any message. + + The type of message to attempt to unpack the content into. + true if the message was successfully unpacked; false if the type name didn't match + + + + Packs the specified message into an Any message using a type URL prefix of "type.googleapis.com". + + The message to pack. + An Any message with the content and type URL of . + + + + Packs the specified message into an Any message using the specified type URL prefix. + + The message to pack. + The prefix for the type URL. + An Any message with the content and type URL of . + + + Holder for reflection information generated from google/protobuf/api.proto + + + File descriptor for google/protobuf/api.proto + + + + Api is a light-weight descriptor for an API Interface. + + Interfaces are also described as "protocol buffer services" in some contexts, + such as by the "service" keyword in a .proto file, but they are different + from API Services, which represent a concrete implementation of an interface + as opposed to simply a description of methods and bindings. They are also + sometimes simply referred to as "APIs" in other contexts, such as the name of + this message itself. See https://cloud.google.com/apis/design/glossary for + detailed terminology. + + + + Field number for the "name" field. + + + + The fully qualified name of this interface, including package name + followed by the interface's simple name. + + + + Field number for the "methods" field. + + + + The methods of this interface, in unspecified order. + + + + Field number for the "options" field. + + + + Any metadata attached to the interface. + + + + Field number for the "version" field. + + + + A version string for this interface. If specified, must have the form + `major-version.minor-version`, as in `1.10`. If the minor version is + omitted, it defaults to zero. If the entire version field is empty, the + major version is derived from the package name, as outlined below. If the + field is not empty, the version in the package name will be verified to be + consistent with what is provided here. + + The versioning schema uses [semantic + versioning](http://semver.org) where the major version number + indicates a breaking change and the minor version an additive, + non-breaking change. Both version numbers are signals to users + what to expect from different versions, and should be carefully + chosen based on the product plan. + + The major version is also reflected in the package name of the + interface, which must end in `v<major-version>`, as in + `google.feature.v1`. For major versions 0 and 1, the suffix can + be omitted. Zero major versions must only be used for + experimental, non-GA interfaces. + + + + Field number for the "source_context" field. + + + + Source context for the protocol buffer service represented by this + message. + + + + Field number for the "mixins" field. + + + + Included interfaces. See [Mixin][]. + + + + Field number for the "syntax" field. + + + + The source syntax of the service. + + + + + Method represents a method of an API interface. + + + + Field number for the "name" field. + + + + The simple name of this method. + + + + Field number for the "request_type_url" field. + + + + A URL of the input message type. + + + + Field number for the "request_streaming" field. + + + + If true, the request is streamed. + + + + Field number for the "response_type_url" field. + + + + The URL of the output message type. + + + + Field number for the "response_streaming" field. + + + + If true, the response is streamed. + + + + Field number for the "options" field. + + + + Any metadata attached to the method. + + + + Field number for the "syntax" field. + + + + The source syntax of this method. + + + + + Declares an API Interface to be included in this interface. The including + interface must redeclare all the methods from the included interface, but + documentation and options are inherited as follows: + + - If after comment and whitespace stripping, the documentation + string of the redeclared method is empty, it will be inherited + from the original method. + + - Each annotation belonging to the service config (http, + visibility) which is not set in the redeclared method will be + inherited. + + - If an http annotation is inherited, the path pattern will be + modified as follows. Any version prefix will be replaced by the + version of the including interface plus the [root][] path if + specified. + + Example of a simple mixin: + + package google.acl.v1; + service AccessControl { + // Get the underlying ACL object. + rpc GetAcl(GetAclRequest) returns (Acl) { + option (google.api.http).get = "/v1/{resource=**}:getAcl"; + } + } + + package google.storage.v2; + service Storage { + rpc GetAcl(GetAclRequest) returns (Acl); + + // Get a data record. + rpc GetData(GetDataRequest) returns (Data) { + option (google.api.http).get = "/v2/{resource=**}"; + } + } + + Example of a mixin configuration: + + apis: + - name: google.storage.v2.Storage + mixins: + - name: google.acl.v1.AccessControl + + The mixin construct implies that all methods in `AccessControl` are + also declared with same name and request/response types in + `Storage`. A documentation generator or annotation processor will + see the effective `Storage.GetAcl` method after inherting + documentation and annotations as follows: + + service Storage { + // Get the underlying ACL object. + rpc GetAcl(GetAclRequest) returns (Acl) { + option (google.api.http).get = "/v2/{resource=**}:getAcl"; + } + ... + } + + Note how the version in the path pattern changed from `v1` to `v2`. + + If the `root` field in the mixin is specified, it should be a + relative path under which inherited HTTP paths are placed. Example: + + apis: + - name: google.storage.v2.Storage + mixins: + - name: google.acl.v1.AccessControl + root: acls + + This implies the following inherited HTTP annotation: + + service Storage { + // Get the underlying ACL object. + rpc GetAcl(GetAclRequest) returns (Acl) { + option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; + } + ... + } + + + + Field number for the "name" field. + + + + The fully qualified name of the interface which is included. + + + + Field number for the "root" field. + + + + If non-empty specifies a path under which inherited HTTP paths + are rooted. + + + + Holder for reflection information generated from google/protobuf/duration.proto + + + File descriptor for google/protobuf/duration.proto + + + + A Duration represents a signed, fixed-length span of time represented + as a count of seconds and fractions of seconds at nanosecond + resolution. It is independent of any calendar and concepts like "day" + or "month". It is related to Timestamp in that the difference between + two Timestamp values is a Duration and it can be added or subtracted + from a Timestamp. Range is approximately +-10,000 years. + + # Examples + + Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (durations.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + + Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + + Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + + # JSON Mapping + + In JSON format, the Duration type is encoded as a string rather than an + object, where the string ends in the suffix "s" (indicating seconds) and + is preceded by the number of seconds, with nanoseconds expressed as + fractional seconds. For example, 3 seconds with 0 nanoseconds should be + encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should + be expressed in JSON format as "3.000000001s", and 3 seconds and 1 + microsecond should be expressed in JSON format as "3.000001s". + + + + Field number for the "seconds" field. + + + + Signed seconds of the span of time. Must be from -315,576,000,000 + to +315,576,000,000 inclusive. Note: these bounds are computed from: + 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years + + + + Field number for the "nanos" field. + + + + Signed fractions of a second at nanosecond resolution of the span + of time. Durations less than one second are represented with a 0 + `seconds` field and a positive or negative `nanos` field. For durations + of one second or more, a non-zero value for the `nanos` field must be + of the same sign as the `seconds` field. Must be from -999,999,999 + to +999,999,999 inclusive. + + + + + The number of nanoseconds in a second. + + + + + The number of nanoseconds in a BCL tick (as used by and ). + + + + + The maximum permitted number of seconds. + + + + + The minimum permitted number of seconds. + + + + + Converts this to a . + + If the duration is not a precise number of ticks, it is truncated towards 0. + The value of this duration, as a TimeSpan. + This value isn't a valid normalized duration, as + described in the documentation. + + + + Converts the given to a . + + The TimeSpan to convert. + The value of the given TimeSpan, as a Duration. + + + + Returns the result of negating the duration. For example, the negation of 5 minutes is -5 minutes. + + The duration to negate. Must not be null. + The negated value of this duration. + + + + Adds the two specified values together. + + The first value to add. Must not be null. + The second value to add. Must not be null. + + + + + Subtracts one from another. + + The duration to subtract from. Must not be null. + The duration to subtract. Must not be null. + The difference between the two specified durations. + + + + Creates a duration with the normalized values from the given number of seconds and + nanoseconds, conforming with the description in the proto file. + + + + + Converts a duration specified in seconds/nanoseconds to a string. + + + If the value is a normalized duration in the range described in duration.proto, + is ignored. Otherwise, if the parameter is true, + a JSON object with a warning is returned; if it is false, an is thrown. + + Seconds portion of the duration. + Nanoseconds portion of the duration. + Determines the handling of non-normalized values + The represented duration is invalid, and is false. + + + + Returns a string representation of this for diagnostic purposes. + + + Normally the returned value will be a JSON string value (including leading and trailing quotes) but + when the value is non-normalized or out of range, a JSON object representation will be returned + instead, including a warning. This is to avoid exceptions being thrown when trying to + diagnose problems - the regular JSON formatter will still throw an exception for non-normalized + values. + + A string representation of this value. + + + + Appends a number of nanoseconds to a StringBuilder. Either 0 digits are added (in which + case no "." is appended), or 3 6 or 9 digits. This is internal for use in Timestamp as well + as Duration. + + + + Holder for reflection information generated from google/protobuf/empty.proto + + + File descriptor for google/protobuf/empty.proto + + + + A generic empty message that you can re-use to avoid defining duplicated + empty messages in your APIs. A typical example is to use it as the request + or the response type of an API method. For instance: + + service Foo { + rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + } + + The JSON representation for `Empty` is empty JSON object `{}`. + + + + Holder for reflection information generated from google/protobuf/field_mask.proto + + + File descriptor for google/protobuf/field_mask.proto + + + + `FieldMask` represents a set of symbolic field paths, for example: + + paths: "f.a" + paths: "f.b.d" + + Here `f` represents a field in some root message, `a` and `b` + fields in the message found in `f`, and `d` a field found in the + message in `f.b`. + + Field masks are used to specify a subset of fields that should be + returned by a get operation or modified by an update operation. + Field masks also have a custom JSON encoding (see below). + + # Field Masks in Projections + + When used in the context of a projection, a response message or + sub-message is filtered by the API to only contain those fields as + specified in the mask. For example, if the mask in the previous + example is applied to a response message as follows: + + f { + a : 22 + b { + d : 1 + x : 2 + } + y : 13 + } + z: 8 + + The result will not contain specific values for fields x,y and z + (their value will be set to the default, and omitted in proto text + output): + + f { + a : 22 + b { + d : 1 + } + } + + A repeated field is not allowed except at the last position of a + paths string. + + If a FieldMask object is not present in a get operation, the + operation applies to all fields (as if a FieldMask of all fields + had been specified). + + Note that a field mask does not necessarily apply to the + top-level response message. In case of a REST get operation, the + field mask applies directly to the response, but in case of a REST + list operation, the mask instead applies to each individual message + in the returned resource list. In case of a REST custom method, + other definitions may be used. Where the mask applies will be + clearly documented together with its declaration in the API. In + any case, the effect on the returned resource/resources is required + behavior for APIs. + + # Field Masks in Update Operations + + A field mask in update operations specifies which fields of the + targeted resource are going to be updated. The API is required + to only change the values of the fields as specified in the mask + and leave the others untouched. If a resource is passed in to + describe the updated values, the API ignores the values of all + fields not covered by the mask. + + If a repeated field is specified for an update operation, the existing + repeated values in the target resource will be overwritten by the new values. + Note that a repeated field is only allowed in the last position of a `paths` + string. + + If a sub-message is specified in the last position of the field mask for an + update operation, then the existing sub-message in the target resource is + overwritten. Given the target message: + + f { + b { + d : 1 + x : 2 + } + c : 1 + } + + And an update message: + + f { + b { + d : 10 + } + } + + then if the field mask is: + + paths: "f.b" + + then the result will be: + + f { + b { + d : 10 + } + c : 1 + } + + However, if the update mask was: + + paths: "f.b.d" + + then the result would be: + + f { + b { + d : 10 + x : 2 + } + c : 1 + } + + In order to reset a field's value to the default, the field must + be in the mask and set to the default value in the provided resource. + Hence, in order to reset all fields of a resource, provide a default + instance of the resource and set all fields in the mask, or do + not provide a mask as described below. + + If a field mask is not present on update, the operation applies to + all fields (as if a field mask of all fields has been specified). + Note that in the presence of schema evolution, this may mean that + fields the client does not know and has therefore not filled into + the request will be reset to their default. If this is unwanted + behavior, a specific service may require a client to always specify + a field mask, producing an error if not. + + As with get operations, the location of the resource which + describes the updated values in the request message depends on the + operation kind. In any case, the effect of the field mask is + required to be honored by the API. + + ## Considerations for HTTP REST + + The HTTP kind of an update operation which uses a field mask must + be set to PATCH instead of PUT in order to satisfy HTTP semantics + (PUT must only be used for full updates). + + # JSON Encoding of Field Masks + + In JSON, a field mask is encoded as a single string where paths are + separated by a comma. Fields name in each path are converted + to/from lower-camel naming conventions. + + As an example, consider the following message declarations: + + message Profile { + User user = 1; + Photo photo = 2; + } + message User { + string display_name = 1; + string address = 2; + } + + In proto a field mask for `Profile` may look as such: + + mask { + paths: "user.display_name" + paths: "photo" + } + + In JSON, the same mask is represented as below: + + { + mask: "user.displayName,photo" + } + + # Field Masks and Oneof Fields + + Field masks treat fields in oneofs just as regular fields. Consider the + following message: + + message SampleMessage { + oneof test_oneof { + string name = 4; + SubMessage sub_message = 9; + } + } + + The field mask can be: + + mask { + paths: "name" + } + + Or: + + mask { + paths: "sub_message" + } + + Note that oneof type names ("test_oneof" in this case) cannot be used in + paths. + + ## Field Mask Verification + + The implementation of the all the API methods, which have any FieldMask type + field in the request, should verify the included field paths, and return + `INVALID_ARGUMENT` error if any path is duplicated or unmappable. + + + + Field number for the "paths" field. + + + + The set of field mask paths. + + + + + Converts a timestamp specified in seconds/nanoseconds to a string. + + + If the value is a normalized duration in the range described in field_mask.proto, + is ignored. Otherwise, if the parameter is true, + a JSON object with a warning is returned; if it is false, an is thrown. + + Paths in the field mask + Determines the handling of non-normalized values + The represented field mask is invalid, and is false. + + + + Checks whether the given path is valid for a field mask. + + true if the path is valid; false otherwise + + + + Returns a string representation of this for diagnostic purposes. + + + Normally the returned value will be a JSON string value (including leading and trailing quotes) but + when the value is non-normalized or out of range, a JSON object representation will be returned + instead, including a warning. This is to avoid exceptions being thrown when trying to + diagnose problems - the regular JSON formatter will still throw an exception for non-normalized + values. + + A string representation of this value. + + + Holder for reflection information generated from google/protobuf/source_context.proto + + + File descriptor for google/protobuf/source_context.proto + + + + `SourceContext` represents information about the source of a + protobuf element, like the file in which it is defined. + + + + Field number for the "file_name" field. + + + + The path-qualified name of the .proto file that contained the associated + protobuf element. For example: `"google/protobuf/source_context.proto"`. + + + + Holder for reflection information generated from google/protobuf/struct.proto + + + File descriptor for google/protobuf/struct.proto + + + + `NullValue` is a singleton enumeration to represent the null value for the + `Value` type union. + + The JSON representation for `NullValue` is JSON `null`. + + + + + Null value. + + + + + `Struct` represents a structured data value, consisting of fields + which map to dynamically typed values. In some languages, `Struct` + might be supported by a native representation. For example, in + scripting languages like JS a struct is represented as an + object. The details of that representation are described together + with the proto support for the language. + + The JSON representation for `Struct` is JSON object. + + + + Field number for the "fields" field. + + + + Unordered map of dynamically typed values. + + + + + `Value` represents a dynamically typed value which can be either + null, a number, a string, a boolean, a recursive struct value, or a + list of values. A producer of value is expected to set one of that + variants, absence of any variant indicates an error. + + The JSON representation for `Value` is JSON value. + + + + Field number for the "null_value" field. + + + + Represents a null value. + + + + Field number for the "number_value" field. + + + + Represents a double value. + + + + Field number for the "string_value" field. + + + + Represents a string value. + + + + Field number for the "bool_value" field. + + + + Represents a boolean value. + + + + Field number for the "struct_value" field. + + + + Represents a structured value. + + + + Field number for the "list_value" field. + + + + Represents a repeated `Value`. + + + + Enum of possible cases for the "kind" oneof. + + + + Convenience method to create a Value message with a string value. + + Value to set for the StringValue property. + A newly-created Value message with the given value. + + + + Convenience method to create a Value message with a number value. + + Value to set for the NumberValue property. + A newly-created Value message with the given value. + + + + Convenience method to create a Value message with a Boolean value. + + Value to set for the BoolValue property. + A newly-created Value message with the given value. + + + + Convenience method to create a Value message with a null initial value. + + A newly-created Value message a null initial value. + + + + Convenience method to create a Value message with an initial list of values. + + The values provided are not cloned; the references are copied directly. + A newly-created Value message an initial list value. + + + + Convenience method to create a Value message with an initial struct value + + The value provided is not cloned; the reference is copied directly. + A newly-created Value message an initial struct value. + + + + `ListValue` is a wrapper around a repeated field of values. + + The JSON representation for `ListValue` is JSON array. + + + + Field number for the "values" field. + + + + Repeated field of dynamically typed values. + + + + + Extension methods on BCL time-related types, converting to protobuf types. + + + + + Converts the given to a . + + The date and time to convert to a timestamp. + The value has a other than Utc. + The converted timestamp. + + + + Converts the given to a + + The offset is taken into consideration when converting the value (so the same instant in time + is represented) but is not a separate part of the resulting value. In other words, there is no + roundtrip operation to retrieve the original DateTimeOffset. + The date and time (with UTC offset) to convert to a timestamp. + The converted timestamp. + + + + Converts the given to a . + + The time span to convert. + The converted duration. + + + Holder for reflection information generated from google/protobuf/timestamp.proto + + + File descriptor for google/protobuf/timestamp.proto + + + + A Timestamp represents a point in time independent of any time zone + or calendar, represented as seconds and fractions of seconds at + nanosecond resolution in UTC Epoch time. It is encoded using the + Proleptic Gregorian Calendar which extends the Gregorian calendar + backwards to year one. It is encoded assuming all minutes are 60 + seconds long, i.e. leap seconds are "smeared" so that no leap second + table is needed for interpretation. Range is from + 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. + By restricting to that range, we ensure that we can convert to + and from RFC 3339 date strings. + See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt). + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone + is required, though only UTC (as indicated by "Z") is presently supported. + + For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString] + method. In Python, a standard `datetime.datetime` object can be converted + to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) + with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one + can use the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--) + to obtain a formatter capable of generating timestamps in this format. + + + + Field number for the "seconds" field. + + + + Represents seconds of UTC time since Unix epoch + 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to + 9999-12-31T23:59:59Z inclusive. + + + + Field number for the "nanos" field. + + + + Non-negative fractions of a second at nanosecond resolution. Negative + second values with fractions must still have non-negative nanos values + that count forward in time. Must be from 0 to 999,999,999 + inclusive. + + + + + Returns the difference between one and another, as a . + + The timestamp to subtract from. Must not be null. + The timestamp to subtract. Must not be null. + The difference between the two specified timestamps. + + + + Adds a to a , to obtain another Timestamp. + + The timestamp to add the duration to. Must not be null. + The duration to add. Must not be null. + The result of adding the duration to the timestamp. + + + + Subtracts a from a , to obtain another Timestamp. + + The timestamp to subtract the duration from. Must not be null. + The duration to subtract. + The result of subtracting the duration from the timestamp. + + + + Converts this timestamp into a . + + + The resulting DateTime will always have a Kind of Utc. + If the timestamp is not a precise number of ticks, it will be truncated towards the start + of time. For example, a timestamp with a value of 99 will result in a + value precisely on a second. + + This timestamp as a DateTime. + The timestamp contains invalid values; either it is + incorrectly normalized or is outside the valid range. + + + + Converts this timestamp into a . + + + The resulting DateTimeOffset will always have an Offset of zero. + If the timestamp is not a precise number of ticks, it will be truncated towards the start + of time. For example, a timestamp with a value of 99 will result in a + value precisely on a second. + + This timestamp as a DateTimeOffset. + The timestamp contains invalid values; either it is + incorrectly normalized or is outside the valid range. + + + + Converts the specified to a . + + + The Kind of is not DateTimeKind.Utc. + The converted timestamp. + + + + Converts the given to a + + The offset is taken into consideration when converting the value (so the same instant in time + is represented) but is not a separate part of the resulting value. In other words, there is no + roundtrip operation to retrieve the original DateTimeOffset. + The date and time (with UTC offset) to convert to a timestamp. + The converted timestamp. + + + + Converts a timestamp specified in seconds/nanoseconds to a string. + + + If the value is a normalized duration in the range described in timestamp.proto, + is ignored. Otherwise, if the parameter is true, + a JSON object with a warning is returned; if it is false, an is thrown. + + Seconds portion of the duration. + Nanoseconds portion of the duration. + Determines the handling of non-normalized values + The represented duration is invalid, and is false. + + + + Returns a string representation of this for diagnostic purposes. + + + Normally the returned value will be a JSON string value (including leading and trailing quotes) but + when the value is non-normalized or out of range, a JSON object representation will be returned + instead, including a warning. This is to avoid exceptions being thrown when trying to + diagnose problems - the regular JSON formatter will still throw an exception for non-normalized + values. + + A string representation of this value. + + + Holder for reflection information generated from google/protobuf/type.proto + + + File descriptor for google/protobuf/type.proto + + + + The syntax in which a protocol buffer element is defined. + + + + + Syntax `proto2`. + + + + + Syntax `proto3`. + + + + + A protocol buffer message type. + + + + Field number for the "name" field. + + + + The fully qualified message name. + + + + Field number for the "fields" field. + + + + The list of fields. + + + + Field number for the "oneofs" field. + + + + The list of types appearing in `oneof` definitions in this type. + + + + Field number for the "options" field. + + + + The protocol buffer options. + + + + Field number for the "source_context" field. + + + + The source context. + + + + Field number for the "syntax" field. + + + + The source syntax. + + + + + A single field of a message type. + + + + Field number for the "kind" field. + + + + The field type. + + + + Field number for the "cardinality" field. + + + + The field cardinality. + + + + Field number for the "number" field. + + + + The field number. + + + + Field number for the "name" field. + + + + The field name. + + + + Field number for the "type_url" field. + + + + The field type URL, without the scheme, for message or enumeration + types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. + + + + Field number for the "oneof_index" field. + + + + The index of the field type in `Type.oneofs`, for message or enumeration + types. The first type has index 1; zero means the type is not in the list. + + + + Field number for the "packed" field. + + + + Whether to use alternative packed wire representation. + + + + Field number for the "options" field. + + + + The protocol buffer options. + + + + Field number for the "json_name" field. + + + + The field JSON name. + + + + Field number for the "default_value" field. + + + + The string value of the default value of this field. Proto2 syntax only. + + + + Container for nested types declared in the Field message type. + + + + Basic field types. + + + + + Field type unknown. + + + + + Field type double. + + + + + Field type float. + + + + + Field type int64. + + + + + Field type uint64. + + + + + Field type int32. + + + + + Field type fixed64. + + + + + Field type fixed32. + + + + + Field type bool. + + + + + Field type string. + + + + + Field type group. Proto2 syntax only, and deprecated. + + + + + Field type message. + + + + + Field type bytes. + + + + + Field type uint32. + + + + + Field type enum. + + + + + Field type sfixed32. + + + + + Field type sfixed64. + + + + + Field type sint32. + + + + + Field type sint64. + + + + + Whether a field is optional, required, or repeated. + + + + + For fields with unknown cardinality. + + + + + For optional fields. + + + + + For required fields. Proto2 syntax only. + + + + + For repeated fields. + + + + + Enum type definition. + + + + Field number for the "name" field. + + + + Enum type name. + + + + Field number for the "enumvalue" field. + + + + Enum value definitions. + + + + Field number for the "options" field. + + + + Protocol buffer options. + + + + Field number for the "source_context" field. + + + + The source context. + + + + Field number for the "syntax" field. + + + + The source syntax. + + + + + Enum value definition. + + + + Field number for the "name" field. + + + + Enum value name. + + + + Field number for the "number" field. + + + + Enum value number. + + + + Field number for the "options" field. + + + + Protocol buffer options. + + + + + A protocol buffer option, which can be attached to a message, field, + enumeration, etc. + + + + Field number for the "name" field. + + + + The option's name. For protobuf built-in options (options defined in + descriptor.proto), this is the short name. For example, `"map_entry"`. + For custom options, it should be the fully-qualified name. For example, + `"google.api.http"`. + + + + Field number for the "value" field. + + + + The option's value packed in an Any message. If the value is a primitive, + the corresponding wrapper type defined in google/protobuf/wrappers.proto + should be used. If the value is an enum, it should be stored as an int32 + value using the google.protobuf.Int32Value type. + + + + Holder for reflection information generated from google/protobuf/wrappers.proto + + + File descriptor for google/protobuf/wrappers.proto + + + + Field number for the single "value" field in all wrapper types. + + + + + Wrapper message for `double`. + + The JSON representation for `DoubleValue` is JSON number. + + + + Field number for the "value" field. + + + + The double value. + + + + + Wrapper message for `float`. + + The JSON representation for `FloatValue` is JSON number. + + + + Field number for the "value" field. + + + + The float value. + + + + + Wrapper message for `int64`. + + The JSON representation for `Int64Value` is JSON string. + + + + Field number for the "value" field. + + + + The int64 value. + + + + + Wrapper message for `uint64`. + + The JSON representation for `UInt64Value` is JSON string. + + + + Field number for the "value" field. + + + + The uint64 value. + + + + + Wrapper message for `int32`. + + The JSON representation for `Int32Value` is JSON number. + + + + Field number for the "value" field. + + + + The int32 value. + + + + + Wrapper message for `uint32`. + + The JSON representation for `UInt32Value` is JSON number. + + + + Field number for the "value" field. + + + + The uint32 value. + + + + + Wrapper message for `bool`. + + The JSON representation for `BoolValue` is JSON `true` and `false`. + + + + Field number for the "value" field. + + + + The bool value. + + + + + Wrapper message for `string`. + + The JSON representation for `StringValue` is JSON string. + + + + Field number for the "value" field. + + + + The string value. + + + + + Wrapper message for `bytes`. + + The JSON representation for `BytesValue` is JSON string. + + + + Field number for the "value" field. + + + + The bytes value. + + + + + This class is used internally by the Protocol Buffer Library and generated + message implementations. It is public only for the sake of those generated + messages. Others should not use this class directly. + + This class contains constants and helper functions useful for dealing with + the Protocol Buffer wire format. + + + + + + Wire types within protobuf encoding. + + + + + Variable-length integer. + + + + + A fixed-length 64-bit value. + + + + + A length-delimited value, i.e. a length followed by that many bytes of data. + + + + + A "start group" value - not supported by this implementation. + + + + + An "end group" value - not supported by this implementation. + + + + + A fixed-length 32-bit value. + + + + + Given a tag value, determines the wire type (lower 3 bits). + + + + + Given a tag value, determines the field number (the upper 29 bits). + + + + + Makes a tag value given a field number and wire type. + + +
+
diff --git a/shangjian/CommonFunc/bin/x86/Debug/MySql.Data.dll b/shangjian/CommonFunc/bin/x86/Debug/MySql.Data.dll new file mode 100644 index 0000000..42e4eae Binary files /dev/null and b/shangjian/CommonFunc/bin/x86/Debug/MySql.Data.dll differ diff --git a/shangjian/CommonFunc/bin/x86/Debug/NPOI.OOXML.dll b/shangjian/CommonFunc/bin/x86/Debug/NPOI.OOXML.dll new file mode 100644 index 0000000..d4b8b4c Binary files /dev/null and b/shangjian/CommonFunc/bin/x86/Debug/NPOI.OOXML.dll differ diff --git a/shangjian/CommonFunc/bin/x86/Debug/NPOI.OpenXml4Net.dll b/shangjian/CommonFunc/bin/x86/Debug/NPOI.OpenXml4Net.dll new file mode 100644 index 0000000..b0ac049 Binary files /dev/null and b/shangjian/CommonFunc/bin/x86/Debug/NPOI.OpenXml4Net.dll differ diff --git a/shangjian/CommonFunc/bin/x86/Debug/NPOI.OpenXmlFormats.dll b/shangjian/CommonFunc/bin/x86/Debug/NPOI.OpenXmlFormats.dll new file mode 100644 index 0000000..81c5885 Binary files /dev/null and b/shangjian/CommonFunc/bin/x86/Debug/NPOI.OpenXmlFormats.dll differ diff --git a/shangjian/CommonFunc/bin/x86/Debug/NPOI.dll b/shangjian/CommonFunc/bin/x86/Debug/NPOI.dll new file mode 100644 index 0000000..fae3bb0 Binary files /dev/null and b/shangjian/CommonFunc/bin/x86/Debug/NPOI.dll differ diff --git a/shangjian/CommonFunc/bin/x86/Debug/Newtonsoft.Json.dll b/shangjian/CommonFunc/bin/x86/Debug/Newtonsoft.Json.dll new file mode 100644 index 0000000..e4a6339 Binary files /dev/null and b/shangjian/CommonFunc/bin/x86/Debug/Newtonsoft.Json.dll differ diff --git a/shangjian/CommonFunc/bin/x86/Debug/QRCoder.dll b/shangjian/CommonFunc/bin/x86/Debug/QRCoder.dll new file mode 100644 index 0000000..98be2ef Binary files /dev/null and b/shangjian/CommonFunc/bin/x86/Debug/QRCoder.dll differ diff --git a/shangjian/CommonFunc/bin/x86/Debug/System.Buffers.dll b/shangjian/CommonFunc/bin/x86/Debug/System.Buffers.dll new file mode 100644 index 0000000..f2d83c5 Binary files /dev/null and b/shangjian/CommonFunc/bin/x86/Debug/System.Buffers.dll differ diff --git a/shangjian/CommonFunc/bin/x86/Debug/System.Buffers.xml b/shangjian/CommonFunc/bin/x86/Debug/System.Buffers.xml new file mode 100644 index 0000000..e243dce --- /dev/null +++ b/shangjian/CommonFunc/bin/x86/Debug/System.Buffers.xml @@ -0,0 +1,38 @@ + + + System.Buffers + + + + Provides a resource pool that enables reusing instances of type . + The type of the objects that are in the resource pool. + + + Initializes a new instance of the class. + + + Creates a new instance of the class. + A new instance of the class. + + + Creates a new instance of the class using the specifed configuration. + The maximum length of an array instance that may be stored in the pool. + The maximum number of array instances that may be stored in each bucket in the pool. The pool groups arrays of similar lengths into buckets for faster access. + A new instance of the class with the specified configuration. + + + Retrieves a buffer that is at least the requested length. + The minimum length of the array. + An array of type that is at least minimumLength in length. + + + Returns an array to the pool that was previously obtained using the method on the same instance. + A buffer to return to the pool that was previously obtained using the method. + Indicates whether the contents of the buffer should be cleared before reuse. If clearArray is set to true, and if the pool will store the buffer to enable subsequent reuse, the method will clear the array of its contents so that a subsequent caller using the method will not see the content of the previous caller. If clearArray is set to false or if the pool will release the buffer, the array&#39;s contents are left unchanged. + + + Gets a shared instance. + A shared instance. + + + \ No newline at end of file diff --git a/shangjian/CommonFunc/bin/x86/Debug/System.Data.SqlClient.dll b/shangjian/CommonFunc/bin/x86/Debug/System.Data.SqlClient.dll new file mode 100644 index 0000000..3592909 Binary files /dev/null and b/shangjian/CommonFunc/bin/x86/Debug/System.Data.SqlClient.dll differ diff --git a/shangjian/CommonFunc/bin/x86/Debug/System.Data.SqlClient.xml b/shangjian/CommonFunc/bin/x86/Debug/System.Data.SqlClient.xml new file mode 100644 index 0000000..5ce7cfa --- /dev/null +++ b/shangjian/CommonFunc/bin/x86/Debug/System.Data.SqlClient.xml @@ -0,0 +1,4181 @@ + + + + System.Data.SqlClient + + + + Describes the type of access to user data for a user-defined method or function. + + + The method or function does not access user data. + + + The method or function reads user data. + + + Used by and to indicate the serialization format of a user-defined type (UDT) or aggregate. + + + This serialization format uses a very simple algorithm that enables SQL Server to store an efficient representation of the UDT on disk. Types marked for serialization can only have value types (structs in Microsoft Visual C# and structures in Microsoft Visual Basic .NET) as members. Members of reference types (such as classes in Visual C# and Visual Basic), either user-defined or those existing in .NET class libraries (such as ), are not supported. + + + The serialization format is unknown. + + + This serialization format gives the developer full control over the binary format through the and methods. + + + Provides custom implementation for user-defined type (UDT) and user-defined aggregate serialization and deserialization. + + + Generates a user-defined type (UDT) or user-defined aggregate from its binary form. + The stream from which the object is deserialized. + + + Converts a user-defined type (UDT) or user-defined aggregate into its binary format so that it may be persisted. + The stream to which the UDT or user-defined aggregate is serialized. + + + Thrown when SQL Server or the ADO.NET provider detects an invalid user-defined type (UDT). + + + Represents a single row of data and its metadata. This class cannot be inherited. + + + Inititializes a new instance with the schema based on the array of objects passed as an argument. + An array of objects that describe each column in the . + The is . + + + Gets the number of columns in the data row. This property is read-only. + The number of columns in the data row as an integer. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + The column specified by is null. + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + The column specified by is null. + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as an array of objects. + The zero-based ordinal of the column. + The offset into the field value to start retrieving bytes. + The target buffer to which to copy bytes. + The offset into the buffer to which to start copying bytes. + The number of bytes to copy to the buffer. + The number of bytes copied. + The is less than 0 or greater than the number of columns (that is, ). + The column specified by is null. + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + The column specified by is null. + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as an array of objects. + The zero-based ordinal of the column. + The offset into the field value to start retrieving characters. + The target buffer to copy chars to. + The offset into the buffer to start copying chars to. + The number of chars to copy to the buffer. + The number of characters copied. + The is less than 0 or greater than the number of columns (that is, ). + The column specified by is null. + There is a type mismatch. + + + Returns the name of the data type for the column specified by the ordinal argument. + The zero-based ordinal of the column. + A that contains the data type of the column. + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + The column specified by is null. + There is a type mismatch. + + + Returns the specified column's data as a . + The zero-based column ordinal. + The value of the specified column as a . + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + The column specified by is null. + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + The column specified by is null. + There is a type mismatch. + + + Returns a object representing the common language runtime (CLR) type that maps to the SQL Server type of the column specified by the argument. + The zero-based ordinal of the column. + The column type as a object. + The is less than 0 or greater than the number of columns (that is, ). + The column is of a user-defined type that is not available to the calling application domain. + The column is of a user-defined type that is not available to the calling application domain. + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + The column specified by is null. + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + The column specified by is null. + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + The column specified by is null. + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + The column specified by is null. + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + The column specified by is null. + There is a type mismatch. + + + Returns the name of the column specified by the ordinal argument. + The zero-based ordinal of the column. + A containing the column name. + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Returns the column ordinal specified by the column name. + The name of the column to look up. + The zero-based ordinal of the column as an integer. + + is . + The column name could not be found. + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Returns a object that represents the type (as a SQL Server type, defined in ) that maps to the SQL Server type of the column. + The zero-based ordinal of the column. + The column type as a object. + The is less than 0 or greater than the number of columns (that is, ). + The column is of a user-defined type that is not available to the calling application domain. + The column is of a user-defined type that is not available to the calling application domain. + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Returns a object, describing the metadata of the column specified by the column ordinal. + The zero-based ordinal of the column. + The column metadata as a object. + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Returns the data value stored in the column, expressed as a SQL Server type, specified by the column ordinal. + The zero-based ordinal of the column. + The value of the column, expressed as a SQL Server type, as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Returns the values for all the columns in the record, expressed as SQL Server types, in an array. + The array into which to copy the values column values. + An that indicates the number of columns copied. + + is . + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Gets the value for the column specified by the ordinal as a . + The zero-based ordinal of the column. + The column value as a . + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Returns the specified column's data as a . + The zero-based column ordinal. + The value of the specified column as a . + + + Returns the common language runtime (CLR) type value for the column specified by the ordinal argument. + The zero-based ordinal of the column. + The CLR type value of the column specified by the ordinal. + The is less than 0 or greater than the number of columns (that is, ). + There is a type mismatch. + + + Returns the values for all the columns in the record, expressed as common language runtime (CLR) types, in an array. + The array into which to copy the values column values. + An that indicates the number of columns copied. + + is . + There is a type mismatch. + + + Returns true if the column specified by the column ordinal parameter is null. + The zero-based ordinal of the column. + + if the column is null; otherwise. + The is less than 0 or greater than the number of columns (that is, ). + + + Gets the common language runtime (CLR) type value for the column specified by the column argument. + The zero-based ordinal of the column. + The CLR type value of the column specified by the . + The is less than 0 or greater than the number of columns (that is, ). + + + Gets the common language runtime (CLR) type value for the column specified by the column argument. + The name of the column. + The CLR type value of the column specified by the . + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified array of values. + The zero-based ordinal of the column. + The offset into the field value to start copying bytes. + The target buffer from which to copy bytes. + The offset into the buffer from which to start copying bytes. + The number of bytes to copy from the buffer. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified array of values. + The zero-based ordinal of the column. + The offset into the field value to start copying characters. + The target buffer from which to copy chars. + The offset into the buffer from which to start copying chars. + The number of chars to copy from the buffer. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the value of the column specified to the value. + The zero-based ordinal of the column. + The new value of the column. + + + Sets the value in the specified column to . + The zero-based ordinal of the column. + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the data stored in the column to the specified value. + The zero-based ordinal of the column. + The new value of the column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets the value of the column specified to the . + The zero-based ordinal of the column. + The new value of the column. + The passed in is a negative number. + The value passed in is greater than 24 hours in length. + + + Sets a new value, expressed as a common language runtime (CLR) type, for the column specified by the column ordinal. + The zero-based ordinal of the column. + The new value for the specified column. + The is less than 0 or greater than the number of columns (that is, ). + + + Sets new values for all of the columns in the . These values are expressed as common language runtime (CLR) types. + The array of new values, expressed as CLR types boxed as references, for the instance. + The number of column values set as an integer. + + is . + The size of values does not match the number of columns in the instance. + + + Not supported in this release. + The zero-based ordinal of the column. + + +Always throws an exception. + The is less than 0 or greater than the number of columns (that is, ). + + + Annotates the returned result of a user-defined type (UDT) with additional information that can be used in Transact-SQL. + + + An optional attribute on a user-defined type (UDT) return type, used to annotate the returned result with additional information that can be used in Transact-SQL. + + + Indicates whether the return type of the user-defined type is of a fixed length. + + if the return type is of a fixed length; otherwise . + + + Indicates whether the return type of the user-defined type can be . + + if the return type of the user-defined type can be ; otherwise . + + + The maximum size, in logical units, of the underlying field type of the user-defined type. + An representing the maximum size, in logical units, of the underlying field type. + + + The precision of the return type of the user-defined type. + An representing the precision of the return type. + + + The scale of the return type of the user-defined type. + An representing the scale of the return type. + + + Used to mark a method definition of a user-defined aggregate as a function in SQL Server. The properties on the attribute reflect the physical characteristics used when the type is registered with SQL Server. + + + An optional attribute on a user-defined aggregate, used to indicate that the method should be registered in SQL Server as a function. Also used to set the , , , , , , and properties of the function attribute. + + + Indicates whether the function involves access to user data stored in the local instance of SQL Server. + + .: Does not access data. .: Only reads user data. + + + The name of a method in the same class which is used to fill a row of data in the table returned by the table-valued function. + A value representing the name of a method in the same class which is used to fill a row of data in the table returned by the table-valued function. + + + Indicates whether the user-defined function is deterministic. + + if the function is deterministic; otherwise . + + + Indicates whether the function involves imprecise computations, such as floating point operations. + + if the function involves precise computations; otherwise . + + + The name under which the function should be registered in SQL Server. + A value representing the name under which the function should be registered. + + + Indicates whether the function requires access to data stored in the system catalogs or virtual system tables of SQL Server. + + .: Does not access system data. .: Only reads system data. + + + A string that represents the table definition of the results, if the method is used as a table-valued function (TVF). + A value representing the table definition of the results. + + + Specifies and retrieves metadata information from parameters and columns of objects. This class cannot be inherited. + + + Initializes a new instance of the class with the specified column name and type. + The name of the column. + The SQL Server type of the parameter or column. + The is . + A that is not allowed was passed to the constructor as . + + + Initializes a new instance of the class with the specified column name, and default server. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column. + The name of the column. + The SQL Server type of the parameter or column. + Specifies whether this column should use the default server value. + Specifies if the column in the table-valued parameter is unique. + Specifies the sort order for a column. + Specifies the ordinal of the sort column. + + + Initializes a new instance of the class with the specified column name, type, precision, and scale. + The name of the parameter or column. + The SQL Server type of the parameter or column. + The precision of the parameter or column. + The scale of the parameter or column. + The is . + A that is not allowed was passed to the constructor as , or was greater than . + + + Initializes a new instance of the class with the specified column name, type, precision, scale, and server default. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column. + The name of the column. + The SQL Server type of the parameter or column. + The precision of the parameter or column. + The scale of the parameter or column. + Specifies whether this column should use the default server value. + Specifies if the column in the table-valued parameter is unique. + Specifies the sort order for a column. + Specifies the ordinal of the sort column. + + + Initializes a new instance of the class with the specified column name, type, and maximum length. + The name of the column. + The SQL Server type of the parameter or column. + The maximum length of the specified type. + The is . + A SqlDbType that is not allowed was passed to the constructor as . + + + Initializes a new instance of the class with the specified column name, type, maximum length, and server default. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column. + The name of the column. + The SQL Server type of the parameter or column. + The maximum length of the specified type. + Specifies whether this column should use the default server value. + Specifies if the column in the table-valued parameter is unique. + Specifies the sort order for a column. + Specifies the ordinal of the sort column. + + + Initializes a new instance of the class with the specified column name, type, maximum length, precision, scale, locale ID, compare options, and user-defined type (UDT). + The name of the column. + The SQL Server type of the parameter or column. + The maximum length of the specified type. + The precision of the parameter or column. + The scale of the parameter or column. + The locale ID of the parameter or column. + The comparison rules of the parameter or column. + A instance that points to the UDT. + The is . + A that is not allowed was passed to the constructor as , or points to a type that does not have declared. + + + Initializes a new instance of the class with the specified column name, type, maximum length, precision, scale, locale ID, compare options, and user-defined type (UDT). This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column. + The name of the column. + The SQL Server type of the parameter or column. + The maximum length of the specified type. + The precision of the parameter or column. + The scale of the parameter or column. + The locale ID of the parameter or column. + The comparison rules of the parameter or column. + A instance that points to the UDT. + Specifies whether this column should use the default server value. + Specifies if the column in the table-valued parameter is unique. + Specifies the sort order for a column. + Specifies the ordinal of the sort column. + + + Initializes a new instance of the class with the specified column name, type, maximum length, locale, and compare options. + The name of the parameter or column. + The SQL Server type of the parameter or column. + The maximum length of the specified type. + The locale ID of the parameter or column. + The comparison rules of the parameter or column. + The is . + A SqlDbType that is not allowed was passed to the constructor as . + + + Initializes a new instance of the class with the specified column name, type, maximum length, locale, compare options, and server default. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column. + The name of the column. + The SQL Server type of the parameter or column. + The maximum length of the specified type. + The locale ID of the parameter or column. + The comparison rules of the parameter or column. + Specifies whether this column should use the default server value. + Specifies if the column in the table-valued parameter is unique. + Specifies the sort order for a column. + Specifies the ordinal of the sort column. + + + Initializes a new instance of the class with the specified column name, type, database name, owning schema, and object name. + The name of the column. + The SQL Server type of the parameter or column. + The database name of the XML schema collection of a typed XML instance. + The relational schema name of the XML schema collection of a typed XML instance. + The name of the XML schema collection of a typed XML instance. + The is , or is when and are non-. + A SqlDbType that is not allowed was passed to the constructor as . + + + Initializes a new instance of the class with the specified column name, database name, owning schema, object name, and default server. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column. + The name of the column. + The SQL Server type of the parameter or column. + The database name of the XML schema collection of a typed XML instance. + The relational schema name of the XML schema collection of a typed XML instance. + The name of the XML schema collection of a typed XML instance. + Specifies whether this column should use the default server value. + Specifies if the column in the table-valued parameter is unique. + Specifies the sort order for a column. + Specifies the ordinal of the sort column. + + + Initializes a new instance of the class with the specified column name, type, and user-defined type (UDT). + The name of the column. + The SQL Server type of the parameter or column. + A instance that points to the UDT. + The is . + A SqlDbType that is not allowed was passed to the constructor as , or points to a type that does not have declared. + + + Initializes a new instance of the class with the specified column name, user-defined type (UDT), and SQLServer type. + The name of the column. + The SQL Server type of the parameter or column. + A instance that points to the UDT. + The SQL Server type name for . + + + Initializes a new instance of the class with the specified column name, type, user-defined type, SQL Server type, and server default. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column. + The name of the column. + The SQL Server type of the parameter or column. + A instance that points to the UDT. + The SQL Server type name for . + Specifies whether this column should use the default server value. + Specifies if the column in the table-valued parameter is unique. + Specifies the sort order for a column. + Specifies the ordinal of the sort column. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified array of values against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as an array of values. + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified array of values against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as an array values. + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as an array of values. + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as a . + + does not match the type, or could not be adjusted. + + + Validates the specified value against the metadata, and adjusts the value if necessary. + The value to validate against the instance. + The adjusted value as an array of values. + + does not match the type, or could not be adjusted. + + + Gets the comparison rules used for the column or parameter. + The comparison rules used for the column or parameter as a . + + + Gets the data type of the column or parameter. + The data type of the column or parameter as a . + + + Infers the metadata from the specified object and returns it as a instance. + The object used from which the metadata is inferred. + The name assigned to the returned instance. + The inferred metadata as a instance. + The is . + + + Indicates if the column in the table-valued parameter is unique. + A value. + + + Gets the locale ID of the column or parameter. + The locale ID of the column or parameter as a . + + + Gets the length of , , and data types. + The length of , , and data types. + + + Gets the maximum length of the column or parameter. + The maximum length of the column or parameter as a . + + + Gets the name of the column or parameter. + The name of the column or parameter as a . + The specified in the constructor is longer than 128 characters. + + + Gets the precision of the column or parameter. + The precision of the column or parameter as a . + + + Gets the scale of the column or parameter. + The scale of the column or parameter. + + + Returns the sort order for a column. + A object. + + + Returns the ordinal of the sort column. + The ordinal of the sort column. + + + Gets the data type of the column or parameter. + The data type of the column or parameter as a . + + + Gets the common language runtime (CLR) type of a user-defined type (UDT). + The CLR type name of a user-defined type as a . + + + Gets the three-part name of the user-defined type (UDT) or the SQL Server type represented by the instance. + The name of the UDT or SQL Server type as a . + + + Reports whether this column should use the default server value. + A value. + + + Gets the name of the database where the schema collection for this XML instance is located. + The name of the database where the schema collection for this XML instance is located as a . + + + Gets the name of the schema collection for this XML instance. + The name of the schema collection for this XML instance as a . + + + Gets the owning relational schema where the schema collection for this XML instance is located. + The owning relational schema where the schema collection for this XML instance is located as a . + + + Indicates the determinism and data access properties of a method or property on a user-defined type (UDT). The properties on the attribute reflect the physical characteristics that are used when the type is registered with SQL Server. + + + An attribute on a user-defined type (UDT), used to indicate the determinism and data access properties of a method or a property on a UDT. + + + Indicates whether SQL Server should invoke the method on null instances. + + if SQL Server should invoke the method on null instances; otherwise, . If the method cannot be invoked (because of an attribute on the method), the SQL Server is returned. + + + Indicates whether a method on a user-defined type (UDT) is a mutator. + + if the method is a mutator; otherwise . + + + Indicates whether the method on a user-defined type (UDT) is called when input arguments are specified in the method invocation. + + if the method is called when input arguments are specified in the method invocation; if the method returns a value when any of its input parameters are . If the method cannot be invoked (because of an attribute on the method), the SQL Server is returned. + + + Indicates that the type should be registered as a user-defined aggregate. The properties on the attribute reflect the physical attributes used when the type is registered with SQL Server. This class cannot be inherited. + + + A required attribute on a user-defined aggregate, used to indicate that the given type is a user-defined aggregate and the storage format of the user-defined aggregate. + One of the values representing the serialization format of the aggregate. + + + The serialization format as a . + A representing the serialization format. + + + Indicates whether the aggregate is invariant to duplicates. + + if the aggregate is invariant to duplicates; otherwise . + + + Indicates whether the aggregate is invariant to nulls. + + if the aggregate is invariant to nulls; otherwise . + + + Indicates whether the aggregate is invariant to order. + + if the aggregate is invariant to order; otherwise . + + + Indicates whether the aggregate returns if no values have been accumulated. + + if the aggregate returns if no values have been accumulated; otherwise . + + + The maximum size, in bytes, of the aggregate instance. + An value representing the maximum size of the aggregate instance. + + + The maximum size, in bytes, required to store the state of this aggregate instance during computation. + + + The name of the aggregate. + A value representing the name of the aggregate. + + + Used to mark a type definition in an assembly as a user-defined type (UDT) in SQL Server. The properties on the attribute reflect the physical characteristics used when the type is registered with SQL Server. This class cannot be inherited. + + + A required attribute on a user-defined type (UDT), used to confirm that the given type is a UDT and to indicate the storage format of the UDT. + One of the values representing the serialization format of the type. + + + The serialization format as a . + A value representing the serialization format. + + + Indicates whether the user-defined type is byte ordered. + + if the user-defined type is byte ordered; otherwise . + + + Indicates whether all instances of this user-defined type are the same length. + + if all instances of this type are the same length; otherwise . + + + The maximum size of the instance, in bytes. + An value representing the maximum size of the instance. + + + The SQL Server name of the user-defined type. + A value representing the SQL Server name of the user-defined type. + + + The name of the method used to validate instances of the user-defined type. + A representing the name of the method used to validate instances of the user-defined type. + + + Describes the type of access to system data for a user-defined method or function. + + + The method or function does not access system data. + + + The method or function reads system data. + + + This exception is thrown when an ongoing operation is aborted by the user. + + + Represents a request for notification for a given command. + + + Creates a new instance of the class with default values. + + + Creates a new instance of the class with a user-defined string that identifies a particular notification request, the name of a predefined SQL Server 2005 Service Broker service name, and the time-out period, measured in seconds. + A string that contains an application-specific identifier for this notification. It is not used by the notifications infrastructure, but it allows you to associate notifications with the application state. The value indicated in this parameter is included in the Service Broker queue message. + A string that contains the Service Broker service name where notification messages are posted, and it must include a database name or a Service Broker instance GUID that restricts the scope of the service name lookup to a particular database. +For more information about the format of the parameter, see . + The time, in seconds, to wait for a notification message. + The value of the parameter is NULL. + The or parameter is longer than or the value in the parameter is less than zero. + + + Gets or sets the SQL Server Service Broker service name where notification messages are posted. + + that contains the SQL Server 2005 Service Broker service name where notification messages are posted and the database or service broker instance GUID to scope the server name lookup. + The value is NULL. + The value is longer than . + + + Gets or sets a value that specifies how long SQL Server waits for a change to occur before the operation times out. + A signed integer value that specifies, in seconds, how long SQL Server waits for a change to occur before the operation times out. + The value is less than zero. + + + Gets or sets an application-specific identifier for this notification. + A value of the application-specific identifier for this notification. + The value is longer than . + + + Specifies a value for . Possible values are and . + + + The application workload type when connecting to a server is read only. + + + The application workload type when connecting to a server is read write. + + + Handles the event that is fired when a notification is received for any of the commands associated with a object. + The source of the event. + A object that contains the event data. + + + Specifies a value for the property. + + + Blocking period ON for all SQL servers including Azure SQL servers. + + + Blocking period OFF for Azure SQL servers, but ON for all other SQL servers. + + + Blocking period OFF for all SQL servers including Azure SQL servers. + + + Specifies how rows of data are sorted. + + + Rows are sorted in ascending order. + + + Rows are sorted in descending order. + + + The default. No sort order is specified. + + + Lets you efficiently bulk load a SQL Server table with data from another source. + + + Initializes a new instance of the class using the specified open instance of . + The already open instance that will be used to perform the bulk copy operation. If your connection string does not use , you can use to pass the user ID and password more securely than by specifying the user ID and password as text in the connection string. + + + Initializes a new instance of the class using the supplied existing open instance of . The instance behaves according to options supplied in the parameter. If a non-null is supplied, the copy operations will be performed within that transaction. + The already open instance that will be used to perform the bulk copy. If your connection string does not use , you can use to pass the user ID and password more securely than by specifying the user ID and password as text in the connection string. + A combination of values from the enumeration that determines which data source rows are copied to the destination table. + An existing instance under which the bulk copy will occur. + + + Initializes and opens a new instance of based on the supplied . The constructor uses the to initialize a new instance of the class. + The string defining the connection that will be opened for use by the instance. If your connection string does not use , you can use or and to pass the user ID and password more securely than by specifying the user ID and password as text in the connection string. + + + Initializes and opens a new instance of based on the supplied . The constructor uses that to initialize a new instance of the class. The instance behaves according to options supplied in the parameter. + The string defining the connection that will be opened for use by the instance. If your connection string does not use , you can use or and to pass the user ID and password more securely than by specifying the user ID and password as text in the connection string. + A combination of values from the enumeration that determines which data source rows are copied to the destination table. + + + Number of rows in each batch. At the end of each batch, the rows in the batch are sent to the server. + The integer value of the property, or zero if no value has been set. + + + Number of seconds for the operation to complete before it times out. + The integer value of the property. The default is 30 seconds. A value of 0 indicates no limit; the bulk copy will wait indefinitely. + + + Closes the instance. + + + Returns a collection of items. Column mappings define the relationships between columns in the data source and columns in the destination. + A collection of column mappings. By default, it is an empty collection. + + + Name of the destination table on the server. + The string value of the property, or null if none as been supplied. + + + Enables or disables a object to stream data from an object. + + if a object can stream data from an object; otherwise, false. The default is . + + + Defines the number of rows to be processed before generating a notification event. + The integer value of the property, or zero if the property has not been set. + + + Occurs every time that the number of rows specified by the property have been processed. + + + Releases all resources used by the current instance of the class. + + + Copies all rows from the supplied array to a destination table specified by the property of the object. + A whose rows will be copied to the destination table. + + + Copies all rows from the supplied array to a destination table specified by the property of the object. + An array of objects that will be copied to the destination table. + + + Copies all rows in the supplied to a destination table specified by the property of the object. + A whose rows will be copied to the destination table. + + + Copies only rows that match the supplied row state in the supplied to a destination table specified by the property of the object. + A whose rows will be copied to the destination table. + A value from the enumeration. Only rows matching the row state are copied to the destination. + + + Copies all rows in the supplied to a destination table specified by the property of the object. + A whose rows will be copied to the destination table. + + + The asynchronous version of , which copies all rows from the supplied array to a destination table specified by the property of the object. + A whose rows will be copied to the destination table. + A task representing the asynchronous operation. + + + The asynchronous version of , which copies all rows from the supplied array to a destination table specified by the property of the object. + A whose rows will be copied to the destination table. + The cancellation instruction. A value in this parameter makes this method equivalent to . + Returns . + + + The asynchronous version of , which copies all rows from the supplied array to a destination table specified by the property of the object. + An array of objects that will be copied to the destination table. + A task representing the asynchronous operation. + Calling multiple times for the same instance before task completion. +Calling and for the same instance before task completion. +The connection drops or is closed during execution. +Returned in the task object, the object was closed during the method execution. +Returned in the task object, there was a connection pool timeout. +Returned in the task object, the object is closed before method execution. + is specified in the connection string. + Returned in the task object, any error returned by SQL Server that occurred while opening the connection. + + + The asynchronous version of , which copies all rows from the supplied array to a destination table specified by the property of the object. +The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object. + An array of objects that will be copied to the destination table. + The cancellation instruction. A value in this parameter makes this method equivalent to . + A task representing the asynchronous operation. + Calling multiple times for the same instance before task completion. +Calling and for the same instance before task completion. +The connection drops or is closed during execution. +Returned in the task object, the object was closed during the method execution. +Returned in the task object, there was a connection pool timeout. +Returned in the task object, the object is closed before method execution. + is specified in the connection string. + Returned in the task object, any error returned by SQL Server that occurred while opening the connection. + + + The asynchronous version of , which copies all rows in the supplied to a destination table specified by the property of the object. + A whose rows will be copied to the destination table. + A task representing the asynchronous operation. + Calling multiple times for the same instance before task completion. +Calling and for the same instance before task completion. +The connection drops or is closed during execution. +Returned in the task object, the object was closed during the method execution. +Returned in the task object, there was a connection pool timeout. +Returned in the task object, the object is closed before method execution. + is specified in the connection string. + Returned in the task object, any error returned by SQL Server that occurred while opening the connection. + + + The asynchronous version of , which copies only rows that match the supplied row state in the supplied to a destination table specified by the property of the object. + A whose rows will be copied to the destination table. + A value from the enumeration. Only rows matching the row state are copied to the destination. + A task representing the asynchronous operation. + Calling multiple times for the same instance before task completion. +Calling and for the same instance before task completion. +The connection drops or is closed during execution. +Returned in the task object, the object was closed during the method execution. +Returned in the task object, there was a connection pool timeout. +Returned in the task object, the object is closed before method execution. + is specified in the connection string. + Returned in the task object, any error returned by SQL Server that occurred while opening the connection. + + + The asynchronous version of , which copies only rows that match the supplied row state in the supplied to a destination table specified by the property of the object. +The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object. + A whose rows will be copied to the destination table. + A value from the enumeration. Only rows matching the row state are copied to the destination. + The cancellation instruction. A value in this parameter makes this method equivalent to . + A task representing the asynchronous operation. + Calling multiple times for the same instance before task completion. +Calling and for the same instance before task completion. +The connection drops or is closed during execution. +Returned in the task object, the object was closed during the method execution. +Returned in the task object, there was a connection pool timeout. +Returned in the task object, the object is closed before method execution. + is specified in the connection string. + Returned in the task object, any error returned by SQL Server that occurred while opening the connection. + + + The asynchronous version of , which copies all rows in the supplied to a destination table specified by the property of the object. +The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object. + A whose rows will be copied to the destination table. + The cancellation instruction. A value in this parameter makes this method equivalent to . + A task representing the asynchronous operation. + Calling multiple times for the same instance before task completion. +Calling and for the same instance before task completion. +The connection drops or is closed during execution. +Returned in the task object, the object was closed during the method execution. +Returned in the task object, there was a connection pool timeout. +Returned in the task object, the object is closed before method execution. + is specified in the connection string. + Returned in the task object, any error returned by SQL Server that occurred while opening the connection. + + + The asynchronous version of , which copies all rows in the supplied to a destination table specified by the property of the object. + A whose rows will be copied to the destination table. + A task representing the asynchronous operation. + Calling multiple times for the same instance before task completion. +Calling and for the same instance before task completion. +The connection drops or is closed during execution. +Returned in the task object, the object was closed during the method execution. +Returned in the task object, there was a connection pool timeout. +Returned in the task object, the object is closed before method execution. +The was closed before the completed returned. +The 's associated connection was closed before the completed returned. + is specified in the connection string. + Returned in the task object, any error returned by SQL Server that occurred while opening the connection. + + + The asynchronous version of , which copies all rows in the supplied to a destination table specified by the property of the object. +The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object. + A whose rows will be copied to the destination table. + The cancellation instruction. A value in this parameter makes this method equivalent to . + A task representing the asynchronous operation. + Calling multiple times for the same instance before task completion. +Calling and for the same instance before task completion. +The connection drops or is closed during execution. +Returned in the task object, the object was closed during the method execution. +Returned in the task object, there was a connection pool timeout. +Returned in the task object, the object is closed before method execution. +The was closed before the completed returned. +The 's associated connection was closed before the completed returned. + is specified in the connection string. + Returned in the task object, any error returned by SQL Server that occurred while opening the connection. + + + Defines the mapping between a column in a instance's data source and a column in the instance's destination table. + + + Parameterless constructor that initializes a new object. + + + Creates a new column mapping, using column ordinals to refer to source and destination columns. + The ordinal position of the source column within the data source. + The ordinal position of the destination column within the destination table. + + + Creates a new column mapping, using a column ordinal to refer to the source column and a column name for the target column. + The ordinal position of the source column within the data source. + The name of the destination column within the destination table. + + + Creates a new column mapping, using a column name to refer to the source column and a column ordinal for the target column. + The name of the source column within the data source. + The ordinal position of the destination column within the destination table. + + + Creates a new column mapping, using column names to refer to source and destination columns. + The name of the source column within the data source. + The name of the destination column within the destination table. + + + Name of the column being mapped in the destination database table. + The string value of the property. + + + Ordinal value of the destination column within the destination table. + The integer value of the property, or -1 if the property has not been set. + + + Name of the column being mapped in the data source. + The string value of the property. + + + The ordinal position of the source column within the data source. + The integer value of the property. + + + Collection of objects that inherits from . + + + Adds the specified mapping to the . + The object that describes the mapping to be added to the collection. + A object. + + + Creates a new and adds it to the collection, using ordinals to specify both source and destination columns. + The ordinal position of the source column within the data source. + The ordinal position of the destination column within the destination table. + A column mapping. + + + Creates a new and adds it to the collection, using an ordinal for the source column and a string for the destination column. + The ordinal position of the source column within the data source. + The name of the destination column within the destination table. + A column mapping. + + + Creates a new and adds it to the collection, using a column name to describe the source column and an ordinal to specify the destination column. + The name of the source column within the data source. + The ordinal position of the destination column within the destination table. + A column mapping. + + + Creates a new and adds it to the collection, using column names to specify both source and destination columns. + The name of the source column within the data source. + The name of the destination column within the destination table. + A column mapping. + + + Clears the contents of the collection. + + + Gets a value indicating whether a specified object exists in the collection. + A valid object. + + if the specified mapping exists in the collection; otherwise . + + + Copies the elements of the to an array of items, starting at a particular index. + The one-dimensional array that is the destination of the elements copied from . The array must have zero-based indexing. + The zero-based index in at which copying begins. + + + Gets the index of the specified object. + The object for which to search. + The zero-based index of the column mapping, or -1 if the column mapping is not found in the collection. + + + Insert a new at the index specified. + Integer value of the location within the at which to insert the new . + + object to be inserted in the collection. + + + Gets the object at the specified index. + The zero-based index of the to find. + A object. + + + Removes the specified element from the . + + object to be removed from the collection. + + + Removes the mapping at the specified index from the collection. + The zero-based index of the object to be removed from the collection. + + + Bitwise flag that specifies one or more options to use with an instance of . + + + Check constraints while data is being inserted. By default, constraints are not checked. + + + Use the default values for all options. + + + When specified, cause the server to fire the insert triggers for the rows being inserted into the database. + + + Preserve source identity values. When not specified, identity values are assigned by the destination. + + + Preserve null values in the destination table regardless of the settings for default values. When not specified, null values are replaced by default values where applicable. + + + Obtain a bulk update lock for the duration of the bulk copy operation. When not specified, row locks are used. + + + When specified, each batch of the bulk-copy operation will occur within a transaction. If you indicate this option and also provide a object to the constructor, an occurs. + + + Represents a set of methods for creating instances of the provider's implementation of the data source classes. + + + Returns a strongly typed instance. + A new strongly typed instance of . + + + Returns a strongly typed instance. + A new strongly typed instance of . + + + Returns a strongly typed instance. + A new strongly typed instance of . + + + Returns a strongly typed instance. + A new strongly typed instance of . + + + Returns a strongly typed instance. + A new strongly typed instance of . + + + Returns a strongly typed instance. + A new strongly typed instance of . + + + Gets an instance of the . This can be used to retrieve strongly typed data objects. + + + Provides a list of constants for use with the GetSchema method to retrieve metadata collections. + + + A constant for use with the GetSchema method that represents the Columns collection. + + + A constant for use with the GetSchema method that represents the Databases collection. + + + A constant for use with the GetSchema method that represents the ForeignKeys collection. + + + A constant for use with the GetSchema method that represents the IndexColumns collection. + + + A constant for use with the GetSchema method that represents the Indexes collection. + + + A constant for use with the GetSchema method that represents the Parameters collection. + + + A constant for use with the GetSchema method that represents the ProcedureColumns collection. + + + A constant for use with the GetSchema method that represents the Procedures collection. + + + A constant for use with the GetSchema method that represents the Tables collection. + + + A constant for use with the GetSchema method that represents the UserDefinedTypes collection. + + + A constant for use with the GetSchema method that represents the Users collection. + + + A constant for use with the GetSchema method that represents the ViewColumns collection. + + + A constant for use with the GetSchema method that represents the Views collection. + + + Represents a Transact-SQL statement or stored procedure to execute against a SQL Server database. This class cannot be inherited. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class with the text of the query. + The text of the query. + + + Initializes a new instance of the class with the text of the query and a . + The text of the query. + A that represents the connection to an instance of SQL Server. + + + Initializes a new instance of the class with the text of the query, a , and the . + The text of the query. + A that represents the connection to an instance of SQL Server. + The in which the executes. + + + Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this . + An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the number of affected rows. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + Any error that occurred while executing the command text. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this . +-or- +The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this , given a callback procedure and state information. + An delegate that is invoked when the command's execution has completed. Pass ( in Microsoft Visual Basic) to indicate that no callback is required. + A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback procedure using the property. + An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the number of affected rows. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + Any error that occurred while executing the command text. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this . +-or- +The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this , and retrieves one or more result sets from the server. + An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns a instance that can be used to retrieve the returned rows. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + Any error that occurred while executing the command text. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this . +-or- +The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this and retrieves one or more result sets from the server, given a callback procedure and state information. + An delegate that is invoked when the command's execution has completed. Pass ( in Microsoft Visual Basic) to indicate that no callback is required. + A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback procedure using the property. + An that can be used to poll, wait for results, or both; this value is also needed when invoking , which returns a instance which can be used to retrieve the returned rows. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + Any error that occurred while executing the command text. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this . +-or- +The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this , using one of the values, and retrieving one or more result sets from the server, given a callback procedure and state information. + An delegate that is invoked when the command's execution has completed. Pass ( in Microsoft Visual Basic) to indicate that no callback is required. + A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback procedure using the property. + One of the values, indicating options for statement execution and data retrieval. + An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns a instance which can be used to retrieve the returned rows. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + Any error that occurred while executing the command text. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this . +-or- +The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this using one of the values. + One of the values, indicating options for statement execution and data retrieval. + An that can be used to poll, wait for results, or both; this value is also needed when invoking , which returns a instance that can be used to retrieve the returned rows. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + Any error that occurred while executing the command text. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this . +-or- +The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this and returns results as an object. + An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns a single XML value. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + Any error that occurred while executing the command text. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this . +-or- +The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this and returns results as an object, using a callback procedure. + An delegate that is invoked when the command's execution has completed. Pass ( in Microsoft Visual Basic) to indicate that no callback is required. + A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback procedure using the property. + An that can be used to poll, wait for results, or both; this value is also needed when the is called, which returns the results of the command as XML. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + Any error that occurred while executing the command text. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this . +-or- +The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + Tries to cancel the execution of a . + + + Creates a new object that is a copy of the current instance. + A new object that is a copy of this instance. + + + Gets or sets the Transact-SQL statement, table name or stored procedure to execute at the data source. + The Transact-SQL statement or stored procedure to execute. The default is an empty string. + + + Gets or sets the wait time before terminating the attempt to execute a command and generating an error. + The time in seconds to wait for the command to execute. The default is 30 seconds. + + + Gets or sets a value indicating how the property is to be interpreted. + One of the values. The default is . + The value was not a valid . + + + Gets or sets the used by this instance of the . + The connection to a data source. The default value is . + The property was changed while the command was enlisted in a transaction. + + + Creates a new instance of a object. + A object. + + + Gets or sets a value indicating whether the command object should be visible in a Windows Form Designer control. + A value indicating whether the command object should be visible in a control. The default is . + + + Finishes asynchronous execution of a Transact-SQL statement. + The returned by the call to . + The number of rows affected (the same behavior as ). + + parameter is null ( in Microsoft Visual Basic) + + was called more than once for a single command execution, or the method was mismatched against its execution method (for example, the code called to complete execution of a call to . + The amount of time specified in elapsed and the asynchronous operation specified with is not complete. +-or- +In some situations, can be set to incorrectly. If this occurs and is called, EndExecuteNonQuery could raise a SqlException error if the amount of time specified in elapsed and the asynchronous operation specified with is not complete. To correct this situation, you should either increase the value of CommandTimeout or reduce the work being done by the asynchronous operation. + + + Finishes asynchronous execution of a Transact-SQL statement, returning the requested . + The returned by the call to . + A object that can be used to retrieve the requested rows. + + parameter is null ( in Microsoft Visual Basic) + + was called more than once for a single command execution, or the method was mismatched against its execution method (for example, the code called to complete execution of a call to . + + + Finishes asynchronous execution of a Transact-SQL statement, returning the requested data as XML. + The returned by the call to . + An object that can be used to fetch the resulting XML data. + + parameter is null ( in Microsoft Visual Basic) + + was called more than once for a single command execution, or the method was mismatched against its execution method (for example, the code called to complete execution of a call to . + + + Executes a Transact-SQL statement against the connection and returns the number of rows affected. + The number of rows affected. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + An exception occurred while executing the command against a locked row. This exception is not generated when you are using Microsoft .NET Framework version 1.0. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + An asynchronous version of , which executes a Transact-SQL statement against the connection and returns the number of rows affected. The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object. + The cancellation instruction. + A task representing the asynchronous operation. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + Calling more than once for the same instance before task completion. +-or- +The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. +-or- + is specified in the connection string. + SQL Server returned an error while executing the command text. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + Sends the to the and builds a . + A object. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + An exception occurred while executing the command against a locked row. This exception is not generated when you are using Microsoft .NET Framework version 1.0. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The current state of the connection is closed. requires an open . +-or- +The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + Sends the to the , and builds a using one of the values. + One of the values. + A object. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + An asynchronous version of , which sends the to the and builds a . Exceptions will be reported via the returned Task object. + A task representing the asynchronous operation. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + An invalid value. + Calling more than once for the same instance before task completion. +-or- +The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. +-or- + is specified in the connection string. + SQL Server returned an error while executing the command text. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + An asynchronous version of , which sends the to the , and builds a . Exceptions will be reported via the returned Task object. + Options for statement execution and data retrieval. When is set to , reads the entire row before returning a complete Task. + A task representing the asynchronous operation. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + An invalid value. + Calling more than once for the same instance before task completion. +-or- +The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. +-or- + is specified in the connection string. + SQL Server returned an error while executing the command text. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + An asynchronous version of , which sends the to the , and builds a +The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object. + Options for statement execution and data retrieval. When is set to , reads the entire row before returning a complete Task. + The cancellation instruction. + A task representing the asynchronous operation. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + An invalid value. + Calling more than once for the same instance before task completion. +-or- +The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. +-or- + is specified in the connection string. + SQL Server returned an error while executing the command text. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + An asynchronous version of , which sends the to the and builds a . +The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object. + The cancellation instruction. + A task representing the asynchronous operation. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + An invalid value. + Calling more than once for the same instance before task completion. +-or- +The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. +-or- + is specified in the connection string. + SQL Server returned an error while executing the command text. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + Executes the query, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored. + The first column of the first row in the result set, or a null reference ( in Visual Basic) if the result set is empty. Returns a maximum of 2033 characters. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + An exception occurred while executing the command against a locked row. This exception is not generated when you are using Microsoft .NET Framework version 1.0. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + An asynchronous version of , which executes the query asynchronously and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored. +The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object. + The cancellation instruction. + A task representing the asynchronous operation. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + Calling more than once for the same instance before task completion. +-or- +The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. +-or- + is specified in the connection string. + SQL Server returned an error while executing the command text. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + Sends the to the and builds an object. + An object. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + An exception occurred while executing the command against a locked row. This exception is not generated when you are using Microsoft .NET Framework version 1.0. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + An asynchronous version of , which sends the to the and builds an object. +Exceptions will be reported via the returned Task object. + A task representing the asynchronous operation. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + Calling more than once for the same instance before task completion. +-or- +The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. +-or- + is specified in the connection string. + SQL Server returned an error while executing the command text. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + An asynchronous version of , which sends the to the and builds an object. +The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object. + The cancellation instruction. + A task representing the asynchronous operation. + A other than Binary or VarBinary was used when was set to . For more information about streaming, see SqlClient Streaming Support. +-or- +A other than Char, NChar, NVarChar, VarChar, or Xml was used when was set to . +-or- +A other than Xml was used when was set to . + Calling more than once for the same instance before task completion. +-or- +The closed or dropped during a streaming operation. For more information about streaming, see SqlClient Streaming Support. +-or- + is specified in the connection string. + SQL Server returned an error while executing the command text. +-or- +A timeout occurred during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + An error occurred in a , or object during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + The , or object was closed during a streaming operation. For more information about streaming, see SqlClient Streaming Support. + + + Gets or sets a value that specifies the object bound to this command. + When set to null (default), no notification should be requested. + + + Gets the . + The parameters of the Transact-SQL statement or stored procedure. The default is an empty collection. + + + Creates a prepared version of the command on an instance of SQL Server. + + + Resets the property to its default value. + + + Occurs when the execution of a Transact-SQL statement completes. + + + Creates a new object that is a copy of the current instance. + A new object that is a copy of this instance. + + + Gets or sets the within which the executes. + The . The default value is . + + + Gets or sets how command results are applied to the when used by the Update method of the . + One of the values. + + + Automatically generates single-table commands that are used to reconcile changes made to a with the associated SQL Server database. This class cannot be inherited. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class with the associated object. + The name of the . + + + Sets or gets the for an instance of the class. + A object. + + + Sets or gets a string used as the catalog separator for an instance of the class. + A string that indicates the catalog separator for use with an instance of the class. + + + Gets or sets a object for which Transact-SQL statements are automatically generated. + A object. + + + Retrieves parameter information from the stored procedure specified in the and populates the collection of the specified object. + The referencing the stored procedure from which the parameter information is to be derived. The derived parameters are added to the collection of the . + The command text is not a valid stored procedure name. + + + Gets the automatically generated object required to perform deletions on the database. + The automatically generated object required to perform deletions. + + + Gets the automatically generated object that is required to perform deletions on the database. + If , generate parameter names matching column names if possible. If , generate @p1, @p2, and so on. + The automatically generated object that is required to perform deletions. + + + Gets the automatically generated object required to perform insertions on the database. + The automatically generated object required to perform insertions. + + + Gets the automatically generated object that is required to perform insertions on the database. + If , generate parameter names matching column names if possible. If , generate @p1, @p2, and so on. + The automatically generated object that is required to perform insertions. + + + Gets the automatically generated object required to perform updates on the database. + The automatically generated object that is required to perform updates. + + + Gets the automatically generated object required to perform updates on the database. + If , generate parameter names matching column names if possible. If , generate @p1, @p2, and so on. + The automatically generated object required to perform updates. + + + Given an unquoted identifier in the correct catalog case, returns the correct quoted form of that identifier. This includes correctly escaping any embedded quotes in the identifier. + The original unquoted identifier. + The quoted version of the identifier. Embedded quotes within the identifier are correctly escaped. + + + Gets or sets the starting character or characters to use when specifying SQL Server database objects, such as tables or columns, whose names contain characters such as spaces or reserved tokens. + The starting character or characters to use. The default is an empty string. + This property cannot be changed after an INSERT, UPDATE, or DELETE command has been generated. + + + Gets or sets the ending character or characters to use when specifying SQL Server database objects, such as tables or columns, whose names contain characters such as spaces or reserved tokens. + The ending character or characters to use. The default is an empty string. + This property cannot be changed after an insert, update, or delete command has been generated. + + + Gets or sets the character to be used for the separator between the schema identifier and any other identifiers. + The character to be used as the schema separator. + + + Given a quoted identifier, returns the correct unquoted form of that identifier. This includes correctly unescaping any embedded quotes in the identifier. + The identifier that will have its embedded quotes removed. + The unquoted identifier, with embedded quotes properly unescaped. + + + Represents a connection to a SQL Server database. This class cannot be inherited. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class when given a string that contains the connection string. + The connection used to open the SQL Server database. + + + Initializes a new instance of the class given a connection string, that does not use and a object that contains the user ID and password. + A connection string that does not use any of the following connection string keywords: , , or ; or that does not use . + A object. If is null, is functionally equivalent to . + + + Gets or sets the access token for the connection. + The access token for the connection. + + + Starts a database transaction. + An object representing the new transaction. + Parallel transactions are not allowed when using Multiple Active Result Sets (MARS). + Parallel transactions are not supported. + + + Starts a database transaction with the specified isolation level. + The isolation level under which the transaction should run. + An object representing the new transaction. + Parallel transactions are not allowed when using Multiple Active Result Sets (MARS). + Parallel transactions are not supported. + + + Starts a database transaction with the specified isolation level and transaction name. + The isolation level under which the transaction should run. + The name of the transaction. + An object representing the new transaction. + Parallel transactions are not allowed when using Multiple Active Result Sets (MARS). + Parallel transactions are not supported. + + + Starts a database transaction with the specified transaction name. + The name of the transaction. + An object representing the new transaction. + Parallel transactions are not allowed when using Multiple Active Result Sets (MARS). + Parallel transactions are not supported. + + + Changes the current database for an open . + The name of the database to use instead of the current database. + The database name is not valid. + The connection is not open. + Cannot change the database. + + + Changes the SQL Server password for the user indicated in the object. + The connection string that contains enough information to connect to a server. The connection string should not use any of the following connection string keywords: , , or ; or . + A object. + The new password. must be read only. The password must also comply with any password security policy set on the server (for example, minimum length and requirements for specific characters). + The connection string contains any combination of , , or . +-or- +The connection string contains . +-or- + (or ) is greater than 128 characters. +-or- + (or ) is not read only. +-or- + (or ) is an empty string. + One of the parameters (, , or ) is null. + + + Changes the SQL Server password for the user indicated in the connection string to the supplied new password. + The connection string that contains enough information to connect to the server that you want. The connection string must contain the user ID and the current password. + The new password to set. This password must comply with any password security policy set on the server, including minimum length, requirements for specific characters, and so on. + The connection string includes the option to use integrated security. +Or +The exceeds 128 characters. + Either the or the parameter is null. + + + Empties the connection pool. + + + Empties the connection pool associated with the specified connection. + The to be cleared from the pool. + + + The connection ID of the most recent connection attempt, regardless of whether the attempt succeeded or failed. + The connection ID of the most recent connection attempt. + + + Closes the connection to the database. This is the preferred method of closing any open connection. + The connection-level error that occurred while opening the connection. + + + Gets or sets the string used to open a SQL Server database. + The connection string that includes the source database name, and other parameters needed to establish the initial connection. The default value is an empty string. + An invalid connection string argument has been supplied, or a required connection string argument has not been supplied. + + + Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error. + The time (in seconds) to wait for a connection to open. The default value is 15 seconds. + The value set is less than 0. + + + Creates and returns a object associated with the . + A object. + + + Gets or sets the object for this connection. + The object for this connection. + + + Gets the name of the current database or the database to be used after a connection is opened. + The name of the current database or the name of the database to be used after a connection is opened. The default value is an empty string. + + + Gets the name of the instance of SQL Server to which to connect. + The name of the instance of SQL Server to which to connect. The default value is an empty string. + + + Gets or sets the property. + + if the property has been set; otherwise . + + + Returns schema information for the data source of this . For more information about scheme, see SQL Server Schema Collections. + A that contains schema information. + + + Returns schema information for the data source of this using the specified string for the schema name. + Specifies the name of the schema to return. + A that contains schema information. + + is specified as null. + + + Returns schema information for the data source of this using the specified string for the schema name and the specified string array for the restriction values. + Specifies the name of the schema to return. + A set of restriction values for the requested schema. + A that contains schema information. + + is specified as null. + + + Occurs when SQL Server returns a warning or informational message. + + + Opens a database connection with the property settings specified by the . + Cannot open a connection without specifying a data source or server. +or +The connection is already open. + A connection-level error occurred while opening the connection. If the property contains the value 18487 or 18488, this indicates that the specified password has expired or must be reset. See the method for more information. +The tag in the app.config file has invalid or unknown elements. + There are two entries with the same name in the section. + + + An asynchronous version of , which opens a database connection with the property settings specified by the . The cancellation token can be used to request that the operation be abandoned before the connection timeout elapses. Exceptions will be propagated via the returned Task. If the connection timeout time elapses without successfully connecting, the returned Task will be marked as faulted with an Exception. The implementation returns a Task without blocking the calling thread for both pooled and non-pooled connections. + The cancellation instruction. + A task representing the asynchronous operation. + Calling more than once for the same instance before task completion. + is specified in the connection string. +A connection was not available from the connection pool before the connection time out elapsed. + Any error returned by SQL Server that occurred while opening the connection. + + + Gets the size (in bytes) of network packets used to communicate with an instance of SQL Server. + The size (in bytes) of network packets. The default value is 8000. + + + If statistics gathering is enabled, all values are reset to zero. + + + Returns a name value pair collection of statistics at the point in time the method is called. + Returns a reference of type of items. + + + Gets a string that contains the version of the instance of SQL Server to which the client is connected. + The version of the instance of SQL Server. + The connection is closed. + was called while the returned Task was not completed and the connection was not opened after a call to . + + + Indicates the state of the during the most recent network operation performed on the connection. + An enumeration. + + + When set to , enables statistics gathering for the current connection. + Returns if statistics gathering is enabled; otherwise . is the default. + + + Creates a new object that is a copy of the current instance. + A new object that is a copy of this instance. + + + Gets a string that identifies the database client. + A string that identifies the database client. If not specified, the name of the client computer. If neither is specified, the value is an empty string. + + + Provides a simple way to create and manage the contents of connection strings used by the class. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class. The provided connection string provides the data for the instance's internal connection information. + The basis for the object's internal connection information. Parsed into name/value pairs. Invalid key names raise . + Invalid key name within the connection string. + Invalid value within the connection string (specifically, when a Boolean or numeric value was expected but not supplied). + The supplied is not valid. + + + Declares the application workload type when connecting to a database in an SQL Server Availability Group. You can set the value of this property with . For more information about SqlClient support for Always On Availability Groups, see SqlClient Support for High Availability, Disaster Recovery. + Returns the current value of the property (a value of type ). + + + Gets or sets the name of the application associated with the connection string. + The name of the application, or ".NET SqlClient Data Provider" if no name has been supplied. + To set the value to null, use . + + + Gets or sets a string that contains the name of the primary data file. This includes the full path name of an attachable database. + The value of the property, or if no value has been supplied. + To set the value to null, use . + + + Clears the contents of the instance. + + + The number of reconnections attempted after identifying that there was an idle connection failure. This must be an integer between 0 and 255. Default is 1. Set to 0 to disable reconnecting on idle connection failures. An will be thrown if set to a value outside of the allowed range. + The number of reconnections attempted after identifying that there was an idle connection failure. + + + Amount of time (in seconds) between each reconnection attempt after identifying that there was an idle connection failure. This must be an integer between 1 and 60. The default is 10 seconds. An will be thrown if set to a value outside of the allowed range. + Amount of time (in seconds) between each reconnection attempt after identifying that there was an idle connection failure. + + + Gets or sets the length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error. + The value of the property, or 15 seconds if no value has been supplied. + + + Determines whether the contains a specific key. + The key to locate in the . + + if the contains an element that has the specified key; otherwise, . + + is null ( in Visual Basic) + + + Gets or sets the SQL Server Language record name. + The value of the property, or if no value has been supplied. + To set the value to null, use . + + + Gets or sets the name or network address of the instance of SQL Server to connect to. + The value of the property, or if none has been supplied. + To set the value to null, use . + + + Gets or sets a Boolean value that indicates whether SQL Server uses SSL encryption for all data sent between the client and server if the server has a certificate installed. + The value of the property, or if none has been supplied. + + + Gets or sets a Boolean value that indicates whether the SQL Server connection pooler automatically enlists the connection in the creation thread's current transaction context. + The value of the property, or if none has been supplied. + + + Gets or sets the name or address of the partner server to connect to if the primary server is down. + The value of the property, or if none has been supplied. + To set the value to null, use . + + + Gets or sets the name of the database associated with the connection. + The value of the property, or if none has been supplied. + To set the value to null, use . + + + Gets or sets a Boolean value that indicates whether User ID and Password are specified in the connection (when ) or whether the current Windows account credentials are used for authentication (when ). + The value of the property, or if none has been supplied. + + + Gets or sets the value associated with the specified key. In C#, this property is the indexer. + The key of the item to get or set. + The value associated with the specified key. + + is a null reference ( in Visual Basic). + Tried to add a key that does not exist within the available keys. + Invalid value within the connection string (specifically, a Boolean or numeric value was expected but not supplied). + + + Gets an that contains the keys in the . + An that contains the keys in the . + + + Gets or sets the minimum time, in seconds, for the connection to live in the connection pool before being destroyed. + The value of the property, or 0 if none has been supplied. + + + Gets or sets the maximum number of connections allowed in the connection pool for this specific connection string. + The value of the property, or 100 if none has been supplied. + + + Gets or sets the minimum number of connections allowed in the connection pool for this specific connection string. + The value of the property, or 0 if none has been supplied. + + + When true, an application can maintain multiple active result sets (MARS). When false, an application must process or cancel all result sets from one batch before it can execute any other batch on that connection. +For more information, see Multiple Active Result Sets (MARS). + The value of the property, or if none has been supplied. + + + If your application is connecting to an AlwaysOn availability group (AG) on different subnets, setting MultiSubnetFailover=true provides faster detection of and connection to the (currently) active server. For more information about SqlClient support for Always On Availability Groups, see SqlClient Support for High Availability, Disaster Recovery. + Returns indicating the current value of the property. + + + Gets or sets the size in bytes of the network packets used to communicate with an instance of SQL Server. + The value of the property, or 8000 if none has been supplied. + + + Gets or sets the password for the SQL Server account. + The value of the property, or if none has been supplied. + The password was incorrectly set to null. See code sample below. + + + Gets or sets a Boolean value that indicates if security-sensitive information, such as the password, is not returned as part of the connection if the connection is open or has ever been in an open state. + The value of the property, or if none has been supplied. + + + The blocking period behavior for a connection pool. + The available blocking period settings. + + + Gets or sets a Boolean value that indicates whether the connection will be pooled or explicitly opened every time that the connection is requested. + The value of the property, or if none has been supplied. + + + Removes the entry with the specified key from the instance. + The key of the key/value pair to be removed from the connection string in this . + + if the key existed within the connection string and was removed; if the key did not exist. + + is null ( in Visual Basic) + + + Gets or sets a Boolean value that indicates whether replication is supported using the connection. + The value of the property, or false if none has been supplied. + + + Indicates whether the specified key exists in this instance. + The key to locate in the . + + if the contains an entry with the specified key; otherwise, . + + + Gets or sets a string value that indicates how the connection maintains its association with an enlisted transaction. + The value of the property, or if none has been supplied. + + + Gets or sets a value that indicates whether the channel will be encrypted while bypassing walking the certificate chain to validate trust. + A . Recognized values are , , , and . + + + Retrieves a value corresponding to the supplied key from this . + The key of the item to retrieve. + The value corresponding to . + + if was found within the connection string; otherwise, . + + contains a null value ( in Visual Basic). + + + Gets or sets a string value that indicates the type system the application expects. + The following table shows the possible values for the property: + Value + + Description + + SQL Server 2005 + + Uses the SQL Server 2005 type system. No conversions are made for the current version of ADO.NET. + + SQL Server 2008 + + Uses the SQL Server 2008 type system. + + Latest + + Use the latest version than this client-server pair can handle. This will automatically move forward as the client and server components are upgraded. + + + Gets or sets the user ID to be used when connecting to SQL Server. + The value of the property, or if none has been supplied. + To set the value to null, use . + + + Gets or sets a value that indicates whether to redirect the connection from the default SQL Server Express instance to a runtime-initiated instance running under the account of the caller. + The value of the property, or if none has been supplied. + To set the value to null, use . + + + Gets an that contains the values in the . + An that contains the values in the . + + + Gets or sets the name of the workstation connecting to SQL Server. + The value of the property, or if none has been supplied. + To set the value to null, use . + + + + provides a more secure way to specify the password for a login attempt using SQL Server Authentication. + is comprised of a user id and a password that will be used for SQL Server Authentication. The password in a object is of type . + cannot be inherited. +Windows Authentication () remains the most secure way to log in to a SQL Server database. + + + Creates an object of type . + The user id. + The password; a value marked as read-only. Passing a read/write parameter will raise an . + + + Gets the password component of the object. + The password component of the object. + + + Gets the user ID component of the object. + The user ID component of the object. + + + Represents a set of data commands and a database connection that are used to fill the and update a SQL Server database. This class cannot be inherited. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class with the specified as the property. + A that is a Transact-SQL SELECT statement or stored procedure and is set as the property of the . + + + Initializes a new instance of the class with a and a object. + A that is a Transact-SQL SELECT statement or stored procedure to be used by the property of the . + A that represents the connection. If your connection string does not use , you can use to pass the user ID and password more securely than by specifying the user ID and password as text in the connection string. + + + Initializes a new instance of the class with a and a connection string. + A that is a Transact-SQL SELECT statement or stored procedure to be used by the property of the . + The connection string. If your connection string does not use , you can use and to pass the user ID and password more securely than by specifying the user ID and password as text in the connection string. + + + Gets or sets a Transact-SQL statement or stored procedure to delete records from the data set. + A used during to delete records in the database that correspond to deleted rows in the . + + + Gets or sets a Transact-SQL statement or stored procedure to insert new records into the data source. + A used during to insert records into the database that correspond to new rows in the . + + + Occurs during after a command is executed against the data source. The attempt to update is made, so the event fires. + + + Occurs during before a command is executed against the data source. The attempt to update is made, so the event fires. + + + Gets or sets a Transact-SQL statement or stored procedure used to select records in the data source. + A used during to select records from the database for placement in the . + + + For a description of this member, see . + An that is used during to delete records in the data source for deleted rows in the data set. + + + For a description of this member, see . + An that is used during to insert records in the data source for new rows in the data set. + + + For a description of this member, see . + An that is used during to select records from data source for placement in the data set. + + + For a description of this member, see . + An that is used during to update records in the data source for modified rows in the data set. + + + For a description of this member, see . + A new object that is a copy of the current instance. + + + Gets or sets the number of rows that are processed in each round-trip to the server. + The number of rows to process per-batch. + Value is + + Effect + + 0 + + There is no limit on the batch size. + + 1 + + Disables batch updating. + + >1 + + Changes are sent using batches of operations at a time. + + +When setting this to a value other than 1, all the commands associated with the have to have their UpdatedRowSource property set to or . An exception is thrown otherwise. + + + Gets or sets a Transact-SQL statement or stored procedure used to update records in the data source. + A used during to update records in the database that correspond to modified rows in the . + + + Provides a way of reading a forward-only stream of rows from a SQL Server database. This class cannot be inherited. + + + Gets the associated with the . + The associated with the . + + + Gets a value that indicates the depth of nesting for the current row. + The depth of nesting for the current row. + + + Gets the number of columns in the current row. + When not positioned in a valid recordset, 0; otherwise the number of columns in the current row. The default is -1. + There is no current connection to an instance of SQL Server. + + + Gets the value of the specified column as a Boolean. + The zero-based column ordinal. + The value of the column. + The specified cast is not valid. + + + Gets the value of the specified column as a byte. + The zero-based column ordinal. + The value of the specified column as a byte. + The specified cast is not valid. + + + Reads a stream of bytes from the specified column offset into the buffer an array starting at the given buffer offset. + The zero-based column ordinal. + The index within the field from which to begin the read operation. + The buffer into which to read the stream of bytes. + The index within the where the write operation is to start. + The maximum length to copy into the buffer. + The actual number of bytes read. + + + Gets the value of the specified column as a single character. + The zero-based column ordinal. + The value of the specified column. + The specified cast is not valid. + + + Reads a stream of characters from the specified column offset into the buffer as an array starting at the given buffer offset. + The zero-based column ordinal. + The index within the field from which to begin the read operation. + The buffer into which to read the stream of bytes. + The index within the where the write operation is to start. + The maximum length to copy into the buffer. + The actual number of characters read. + + + + Gets a string representing the data type of the specified column. + The zero-based ordinal position of the column to find. + The string representing the data type of the specified column. + + + Gets the value of the specified column as a object. + The zero-based column ordinal. + The value of the specified column. + The specified cast is not valid. + + + Retrieves the value of the specified column as a object. + The zero-based column ordinal. + The value of the specified column. + The specified cast is not valid. + + + Gets the value of the specified column as a object. + The zero-based column ordinal. + The value of the specified column. + The specified cast is not valid. + + + Gets the value of the specified column as a double-precision floating point number. + The zero-based column ordinal. + The value of the specified column. + The specified cast is not valid. + + + Returns an that iterates through the . + An for the . + + + Gets the that is the data type of the object. + The zero-based column ordinal. + The that is the data type of the object. If the type does not exist on the client, in the case of a User-Defined Type (UDT) returned from the database, GetFieldType returns null. + + + Synchronously gets the value of the specified column as a type. is the asynchronous version of this method. + The column to be retrieved. + The type of the value to be returned. + The returned type object. + The connection drops or is closed during the data retrieval. +The is closed during the data retrieval. +There is no data ready to be read (for example, the first hasn't been called, or returned false). +Tried to read a previously-read column in sequential mode. +There was an asynchronous operation in progress. This applies to all Get* methods when running in sequential mode, as they could be called while reading a stream. + Trying to read a column that does not exist. + The value of the column was null ( == ), retrieving a non-SQL type. + + doesn't match the type returned by SQL Server or cannot be cast. + + + Asynchronously gets the value of the specified column as a type. is the synchronous version of this method. + The column to be retrieved. + The cancellation instruction, which propagates a notification that operations should be canceled. This does not guarantee the cancellation. A setting of makes this method equivalent to . The returned task must be marked as cancelled. + The type of the value to be returned. + The returned type object. + The connection drops or is closed during the data retrieval. +The is closed during the data retrieval. +There is no data ready to be read (for example, the first hasn't been called, or returned false). +Tried to read a previously-read column in sequential mode. +There was an asynchronous operation in progress. This applies to all Get* methods when running in sequential mode, as they could be called while reading a stream. + is specified in the connection string. + Trying to read a column that does not exist. + The value of the column was null ( == ), retrieving a non-SQL type. + + doesn't match the type returned by SQL Server or cannot be cast. + + + Gets the value of the specified column as a single-precision floating point number. + The zero-based column ordinal. + The value of the specified column. + The specified cast is not valid. + + + Gets the value of the specified column as a globally unique identifier (GUID). + The zero-based column ordinal. + The value of the specified column. + The specified cast is not valid. + + + Gets the value of the specified column as a 16-bit signed integer. + The zero-based column ordinal. + The value of the specified column. + The specified cast is not valid. + + + Gets the value of the specified column as a 32-bit signed integer. + The zero-based column ordinal. + The value of the specified column. + The specified cast is not valid. + + + Gets the value of the specified column as a 64-bit signed integer. + The zero-based column ordinal. + The value of the specified column. + The specified cast is not valid. + + + Gets the name of the specified column. + The zero-based column ordinal. + The name of the specified column. + + + Gets the column ordinal, given the name of the column. + The name of the column. + The zero-based column ordinal. + The name specified is not a valid column name. + + + Gets an that is a representation of the underlying provider-specific field type. + An representing the column ordinal. + Gets an that is a representation of the underlying provider-specific field type. + + + Gets an that is a representation of the underlying provider specific value. + An representing the column ordinal. + An that is a representation of the underlying provider specific value. + + + Gets an array of objects that are a representation of the underlying provider specific values. + An array of into which to copy the column values. + The array of objects that are a representation of the underlying provider specific values. + + + Returns a that describes the column metadata of the . + A that describes the column metadata. + The is closed. + + + Gets the value of the specified column as a . + The zero-based column ordinal. + The value of the column expressed as a . + + + Gets the value of the specified column as a . + The zero-based column ordinal. + The value of the column. + + + Gets the value of the specified column as a . + The zero-based column ordinal. + The value of the column expressed as a . + + + Gets the value of the specified column as . + The zero-based column ordinal. + The value of the column expressed as a . + + + Gets the value of the specified column as . + The zero-based column ordinal. + The value of the column expressed as a . + + + Gets the value of the specified column as a . + The zero-based column ordinal. + The value of the column expressed as a . + + + Gets the value of the specified column as a . + The zero-based column ordinal. + The value of the column expressed as a . + + + Gets the value of the specified column as a . + The zero-based column ordinal. + The value of the column expressed as a . + + + Gets the value of the specified column as a . + The zero-based column ordinal. + The value of the column expressed as a . + + + Gets the value of the specified column as a . + The zero-based column ordinal. + The value of the column expressed as a . + + + Gets the value of the specified column as a . + The zero-based column ordinal. + The value of the column expressed as a . + + + Gets the value of the specified column as a . + The zero-based column ordinal. + The value of the column expressed as a . + + + Gets the value of the specified column as a . + The zero-based column ordinal. + The value of the column expressed as a . + + + Gets the value of the specified column as a . + The zero-based column ordinal. + The value of the column expressed as a . + + + Gets the value of the specified column as a . + The zero-based column ordinal. + The value of the column expressed as a . + + + Returns the data value in the specified column as a SQL Server type. + The zero-based column ordinal. + The value of the column expressed as a . + + + Fills an array of that contains the values for all the columns in the record, expressed as SQL Server types. + An array of into which to copy the values. The column values are expressed as SQL Server types. + An integer indicating the number of columns copied. + + is null. + + + Gets the value of the specified column as an XML value. + The zero-based column ordinal. + A value that contains the XML stored within the corresponding field. + The index passed was outside the range of 0 to - 1 + An attempt was made to read or access columns in a closed . + The retrieved data is not compatible with the type. + + + Retrieves binary, image, varbinary, UDT, and variant data types as a . + The zero-based column ordinal. + A stream object. + The connection drops or is closed during the data retrieval. +The is closed during the data retrieval. +There is no data ready to be read (for example, the first hasn't been called, or returned false). +Tried to read a previously-read column in sequential mode. +There was an asynchronous operation in progress. This applies to all Get* methods when running in sequential mode, as they could be called while reading a stream. + Trying to read a column that does not exist. + The returned type was not one of the types below: + +binary + +image + +varbinary + +udt + + + Gets the value of the specified column as a string. + The zero-based column ordinal. + The value of the specified column. + The specified cast is not valid. + + + Retrieves Char, NChar, NText, NVarChar, text, varChar, and Variant data types as a . + The column to be retrieved. + The returned object. + The connection drops or is closed during the data retrieval. +The is closed during the data retrieval. +There is no data ready to be read (for example, the first hasn't been called, or returned false). +Tried to read a previously-read column in sequential mode. +There was an asynchronous operation in progress. This applies to all Get* methods when running in sequential mode, as they could be called while reading a stream. + Trying to read a column that does not exist. + The returned type was not one of the types below: + +char + +nchar + +ntext + +nvarchar + +text + +varchar + + + Retrieves the value of the specified column as a object. + The zero-based column ordinal. + The value of the specified column. + The specified cast is not valid. + + + Gets the value of the specified column in its native format. + The zero-based column ordinal. + This method returns for null database columns. + + + Populates an array of objects with the column values of the current row. + An array of into which to copy the attribute columns. + The number of instances of in the array. + + + Retrieves data of type XML as an . + The value of the specified column. + The returned object. + The connection drops or is closed during the data retrieval. +The is closed during the data retrieval. +There is no data ready to be read (for example, the first hasn't been called, or returned false). +Trying to read a previously read column in sequential mode. +There was an asynchronous operation in progress. This applies to all Get* methods when running in sequential mode, as they could be called while reading a stream. + Trying to read a column that does not exist. + The returned type was not xml. + + + Gets a value that indicates whether the contains one or more rows. + + if the contains one or more rows; otherwise . + + + Retrieves a Boolean value that indicates whether the specified instance has been closed. + + if the specified instance is closed; otherwise . + + + Determines whether the specified matches that of the . + A enumeration. + + if the specified is true, otherwise. + + + Gets a value that indicates whether the column contains non-existent or missing values. + The zero-based column ordinal. + + if the specified column value is equivalent to ; otherwise . + + + An asynchronous version of , which gets a value that indicates whether the column contains non-existent or missing values. +The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object. + The zero-based column to be retrieved. + The cancellation instruction, which propagates a notification that operations should be canceled. This does not guarantee the cancellation. A setting of makes this method equivalent to . The returned task must be marked as cancelled. + + if the specified column value is equivalent to otherwise . + The connection drops or is closed during the data retrieval. +The is closed during the data retrieval. +There is no data ready to be read (for example, the first hasn't been called, or returned false). +Trying to read a previously read column in sequential mode. +There was an asynchronous operation in progress. This applies to all Get* methods when running in sequential mode, as they could be called while reading a stream. + is specified in the connection string. + Trying to read a column that does not exist. + + + Gets the value of the specified column in its native format given the column ordinal. + The zero-based column ordinal. + The value of the specified column in its native format. + The index passed was outside the range of 0 through . + + + Gets the value of the specified column in its native format given the column name. + The column name. + The value of the specified column in its native format. + No column with the specified name was found. + + + Advances the data reader to the next result, when reading the results of batch Transact-SQL statements. + + if there are more result sets; otherwise . + + + An asynchronous version of , which advances the data reader to the next result, when reading the results of batch Transact-SQL statements. +The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object. + The cancellation instruction. + A task representing the asynchronous operation. + Calling more than once for the same instance before task completion. + is specified in the connection string. + SQL Server returned an error while executing the command text. + + + Advances the to the next record. + + if there are more rows; otherwise . + SQL Server returned an error while executing the command text. + + + An asynchronous version of , which advances the to the next record. +The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object. + The cancellation instruction. + A task representing the asynchronous operation. + Calling more than once for the same instance before task completion. + is specified in the connection string. + SQL Server returned an error while executing the command text. + + + Gets the number of rows changed, inserted, or deleted by execution of the Transact-SQL statement. + The number of rows changed, inserted, or deleted; 0 if no rows were affected or the statement failed; and -1 for SELECT statements. + + + Gets the number of fields in the that are not hidden. + The number of fields that are not hidden. + + + The object represents a query notification dependency between an application and an instance of SQL Server. An application can create a object and register to receive notifications via the event handler. + + + Creates a new instance of the class with the default settings. + + + Creates a new instance of the class and associates it with the parameter. + The object to associate with this object. The constructor will set up a object and bind it to the command. + The parameter is NULL. + The object already has a object assigned to its property, and that is not associated with this dependency. + + + Creates a new instance of the class, associates it with the parameter, and specifies notification options and a time-out value. + The object to associate with this object. The constructor sets up a object and bind it to the command. + The notification request options to be used by this dependency. to use the default service. + The time-out for this notification in seconds. The default is 0, indicating that the server's time-out should be used. + The parameter is NULL. + The time-out value is less than zero. + The object already has a object assigned to its property and that is not associated with this dependency. +An attempt was made to create a SqlDependency instance from within SQLCLR. + + + Associates a object with this instance. + A object containing a statement that is valid for notifications. + The parameter is null. + The object already has a object assigned to its property, and that is not associated with this dependency. + + + Gets a value that indicates whether one of the result sets associated with the dependency has changed. + A Boolean value indicating whether one of the result sets has changed. + + + Gets a value that uniquely identifies this instance of the class. + A string representation of a GUID that is generated for each instance of the class. + + + Occurs when a notification is received for any of the commands associated with this object. + + + Starts the listener for receiving dependency change notifications from the instance of SQL Server specified by the connection string. + The connection string for the instance of SQL Server from which to obtain change notifications. + + if the listener initialized successfully; if a compatible listener already exists. + The parameter is NULL. + The parameter is the same as a previous call to this method, but the parameters are different. +The method was called from within the CLR. + The caller does not have the required code access security (CAS) permission. + A subsequent call to the method has been made with an equivalent parameter with a different user, or a user that does not default to the same schema. +Also, any underlying SqlClient exceptions. + + + Starts the listener for receiving dependency change notifications from the instance of SQL Server specified by the connection string using the specified SQL Server Service Broker queue. + The connection string for the instance of SQL Server from which to obtain change notifications. + An existing SQL Server Service Broker queue to be used. If , the default queue is used. + + if the listener initialized successfully; if a compatible listener already exists. + The parameter is NULL. + The parameter is the same as a previous call to this method, but the parameters are different. +The method was called from within the CLR. + The caller does not have the required code access security (CAS) permission. + A subsequent call to the method has been made with an equivalent parameter but a different user, or a user that does not default to the same schema. +Also, any underlying SqlClient exceptions. + + + Stops a listener for a connection specified in a previous call. + Connection string for the instance of SQL Server that was used in a previous call. + + if the listener was completely stopped; if the was unbound from the listener, but there are is at least one other using the same listener. + The parameter is NULL. + The method was called from within SQLCLR. + The caller does not have the required code access security (CAS) permission. + An underlying SqlClient exception occurred. + + + Stops a listener for a connection specified in a previous call. + Connection string for the instance of SQL Server that was used in a previous call. + The SQL Server Service Broker queue that was used in a previous call. + + if the listener was completely stopped; if the was unbound from the listener, but there is at least one other using the same listener. + The parameter is NULL. + The method was called from within SQLCLR. + The caller does not have the required code access security (CAS) permission. + And underlying SqlClient exception occurred. + + + Collects information relevant to a warning or error returned by SQL Server. + + + Gets the severity level of the error returned from SQL Server. + A value from 1 to 25 that indicates the severity level of the error. The default is 0. + + + Gets the line number within the Transact-SQL command batch or stored procedure that contains the error. + The line number within the Transact-SQL command batch or stored procedure that contains the error. + + + Gets the text describing the error. + The text describing the error. For more information on errors generated by SQL Server, see Database Engine Events and Errors. + + + Gets a number that identifies the type of error. + The number that identifies the type of error. + + + Gets the name of the stored procedure or remote procedure call (RPC) that generated the error. + The name of the stored procedure or RPC. For more information on errors generated by SQL Server, see Database Engine Events and Errors. + + + Gets the name of the instance of SQL Server that generated the error. + The name of the instance of SQL Server. + + + Gets the name of the provider that generated the error. + The name of the provider that generated the error. + + + Some error messages can be raised at multiple points in the code for the Database Engine. For example, an 1105 error can be raised for several different conditions. Each specific condition that raises an error assigns a unique state code. + The state code. + + + Gets the complete text of the error message. + The complete text of the error. + + + Collects all errors generated by the .NET Framework Data Provider for SQL Server. This class cannot be inherited. + + + Copies the elements of the collection into an , starting at the specified index. + The to copy elements into. + The index from which to start copying into the parameter. + The sum of and the number of elements in the collection is greater than the of the . + The is . + The is not valid for . + + + Copies the elements of the collection into a , starting at the specified index. + The to copy the elements into. + The index from which to start copying into the parameter. + The sum of and the number of elements in the collection is greater than the length of the . + The is . + The is not valid for . + + + Gets the number of errors in the collection. + The total number of errors in the collection. + + + Returns an enumerator that iterates through the . + An for the . + + + Gets the error at the specified index. + The zero-based index of the error to retrieve. + A that contains the error at the specified index. + Index parameter is outside array bounds. + + + For a description of this member, see . + + if access to the is synchronized (thread safe); otherwise, . + + + For a description of this member, see . + An object that can be used to synchronize access to the . + + + The exception that is thrown when SQL Server returns a warning or error. This class cannot be inherited. + + + Gets the severity level of the error returned from the .NET Framework Data Provider for SQL Server. + A value from 1 to 25 that indicates the severity level of the error. + + + Represents the client connection ID. For more information, see Data Tracing in ADO.NET. + The client connection ID. + + + Gets a collection of one or more objects that give detailed information about exceptions generated by the .NET Framework Data Provider for SQL Server. + The collected instances of the class. + + + Sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference ( in Visual Basic). + + + Gets the line number within the Transact-SQL command batch or stored procedure that generated the error. + The line number within the Transact-SQL command batch or stored procedure that generated the error. + + + Gets a number that identifies the type of error. + The number that identifies the type of error. + + + Gets the name of the stored procedure or remote procedure call (RPC) that generated the error. + The name of the stored procedure or RPC. + + + Gets the name of the computer that is running an instance of SQL Server that generated the error. + The name of the computer running an instance of SQL Server. + + + Gets the name of the provider that generated the error. + The name of the provider that generated the error. + + + Gets a numeric error code from SQL Server that represents an error, warning or "no data found" message. For more information about how to decode these values, see Database Engine Events and Errors. + The number representing the error code. + + + Returns a string that represents the current object, and includes the client connection ID (for more information, see ). + A string that represents the current object.. + + + Provides data for the event. + + + Gets the collection of warnings sent from the server. + The collection of warnings sent from the server. + + + Gets the full text of the error sent from the database. + The full text of the error. + + + Gets the name of the object that generated the error. + The name of the object that generated the error. + + + Retrieves a string representation of the event. + A string representing the event. + + + Represents the method that will handle the event of a . + The source of the event. + A object that contains the event data. + + + Represents the set of arguments passed to the notification event handler. + + + Creates a new instance of the object. + + value that indicates whether this notification is generated because of an actual change, or by the subscription. + + value that indicates the reason for the notification event. This may occur because the data in the store actually changed, or the notification became invalid (for example, it timed out). + + value that indicates the source that generated the notification. + + + Gets a value that indicates the reason for the notification event, such as a row in the database being modified or a table being truncated. + The notification event reason. + + + Gets a value that indicates the source that generated the notification, such as a change to the query data or the database's state. + The source of the notification. + + + Gets a value that indicates whether this notification is generated because of an actual change, or by the subscription. + A value indicating whether the notification was generated by a change or a subscription. + + + This enumeration provides additional information about the different notifications that can be received by the dependency event handler. + + + The object already fired, and new commands cannot be added to it. + + + An underlying server object related to the query was modified. + + + Data was changed by a DELETE statement. + + + An underlying object related to the query was dropped. + + + An internal server error occurred. + + + The object has expired. + + + Data was changed by an INSERT statement. + + + A statement was provided that cannot be notified (for example, an UPDATE statement). + + + The statement was executed under an isolation mode that was not valid (for example, Snapshot). + + + Used to distinguish the server-side cause for a query notification firing. + + + The SET options were not set appropriately at subscription time. + + + A previous statement has caused query notifications to fire under the current transaction. + + + A SELECT statement that cannot be notified or was provided. + + + Fires as a result of server resource pressure. + + + The server was restarted (notifications are sent during restart.). + + + The subscribing query causes the number of templates on one of the target tables to exceed the maximum allowable limit. + + + One or more tables were truncated. + + + Used when the info option sent by the server was not recognized by the client. + + + Data was changed by an UPDATE statement. + + + Indicates the source of the notification received by the dependency event handler. + + + A client-initiated notification occurred, such as a client-side time-out or as a result of attempting to add a command to a dependency that has already fired. + + + Data has changed; for example, an insert, update, delete, or truncate operation occurred. + + + The database state changed; for example, the database related to the query was dropped or detached. + + + The run-time environment was not compatible with notifications; for example, the isolation level was set to snapshot, or one or more SET options are not compatible. + + + A run-time error occurred during execution. + + + A database object changed; for example, an underlying object related to the query was dropped or modified. + + + Internal only; not intended to be used in your code. + + + The Transact-SQL statement is not valid for notifications; for example, a SELECT statement that could not be notified or a non-SELECT statement was executed. + + + A system-related event occurred. For example, there was an internal error, the server was restarted, or resource pressure caused the invalidation. + + + The subscription time-out expired. + + + Used when the source option sent by the server was not recognized by the client. + + + Describes the different notification types that can be received by an event handler through the parameter. + + + Data on the server being monitored changed. Use the item to determine the details of the change. + + + There was a failure to create a notification subscription. Use the object's item to determine the cause of the failure. + + + Used when the type option sent by the server was not recognized by the client. + + + Represents a parameter to a and optionally its mapping to columns. This class cannot be inherited. For more information on parameters, see Configuring Parameters and Parameter Data Types. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class that uses the parameter name and the data type. + The name of the parameter to map. + One of the values. + The value supplied in the parameter is an invalid back-end data type. + + + Initializes a new instance of the class that uses the parameter name, the , and the size. + The name of the parameter to map. + One of the values. + The length of the parameter. + The value supplied in the parameter is an invalid back-end data type. + + + Initializes a new instance of the class that uses the parameter name, the type of the parameter, the size of the parameter, a , the precision of the parameter, the scale of the parameter, the source column, a to use, and the value of the parameter. + The name of the parameter to map. + One of the values. + The length of the parameter. + One of the values. + + if the value of the field can be null; otherwise, . + The total number of digits to the left and right of the decimal point to which is resolved. + The total number of decimal places to which is resolved. + The name of the source column () if this is used in a call to . + One of the values. + An that is the value of the . + The value supplied in the parameter is an invalid back-end data type. + + + Initializes a new instance of the class that uses the parameter name, the , the size, and the source column name. + The name of the parameter to map. + One of the values. + The length of the parameter. + The name of the source column () if this is used in a call to . + The value supplied in the parameter is an invalid back-end data type. + + + Initializes a new instance of the class that uses the parameter name, the type of the parameter, the length of the parameter the direction, the precision, the scale, the name of the source column, one of the values, a Boolean for source column mapping, the value of the , the name of the database where the schema collection for this XML instance is located, the owning relational schema where the schema collection for this XML instance is located, and the name of the schema collection for this parameter. + The name of the parameter to map. + One of the values. + The name of the database where the schema collection for this XML instance is located. + The owning relational schema where the schema collection for this XML instance is located. + The name of the schema collection for this parameter. + The length of the parameter. + One of the values. + The total number of digits to the left and right of the decimal point to which is resolved. + The total number of decimal places to which is resolved. + The name of the source column () if this is used in a call to . + One of the values. + + if the source column is nullable; if it is not. + An that is the value of the . + + + Initializes a new instance of the class that uses the parameter name and a value of the new . + The name of the parameter to map. + An that is the value of the . + + + Gets or sets the object that defines how string comparisons should be performed for this parameter. + A object that defines string comparison for this parameter. + + + Gets or sets the of the parameter. + One of the values. The default is . + + + Gets or sets a value that indicates whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter. + One of the values. The default is . + The property was not set to one of the valid values. + + + Gets or sets a value that indicates whether the parameter accepts null values. is not used to validate the parameter's value and will not prevent sending or receiving a null value when executing a command. + + if null values are accepted; otherwise, . The default is . + + + Gets or sets the locale identifier that determines conventions and language for a particular region. + The locale identifier associated with the parameter. + + + Gets or sets the offset to the property. + The offset to the . The default is 0. + + + Gets or sets the name of the . + The name of the . The default is an empty string. + + + Gets or sets the maximum number of digits used to represent the property. + The maximum number of digits used to represent the property. The default value is 0. This indicates that the data provider sets the precision for . + + + Resets the type associated with this . + + + Resets the type associated with this . + + + Gets or sets the number of decimal places to which is resolved. + The number of decimal places to which is resolved. The default is 0. + + + Gets or sets the maximum size, in bytes, of the data within the column. + The maximum size, in bytes, of the data within the column. The default value is inferred from the parameter value. + + + Gets or sets the name of the source column mapped to the and used for loading or returning the + The name of the source column mapped to the . The default is an empty string. + + + Sets or gets a value which indicates whether the source column is nullable. This allows to correctly generate Update statements for nullable columns. + + if the source column is nullable; if it is not. + + + Gets or sets the to use when you load + One of the values. The default is . + + + Gets or sets the of the parameter. + One of the values. The default is . + + + Gets or sets the value of the parameter as an SQL type. + An that is the value of the parameter, using SQL types. The default value is null. + + + For a description of this member, see . + A new that is a copy of this instance. + + + Gets a string that contains the . + A string that contains the . + + + Gets or sets the type name for a table-valued parameter. + The type name of the specified table-valued parameter. + + + Gets or sets a that represents a user-defined type as a parameter. + A that represents the fully qualified name of a user-defined type in the database. + + + Gets or sets the value of the parameter. + An that is the value of the parameter. The default value is null. + + + Gets the name of the database where the schema collection for this XML instance is located. + The name of the database where the schema collection for this XML instance is located. + + + Gets the name of the schema collection for this XML instance. + The name of the schema collection for this XML instance. + + + The owning relational schema where the schema collection for this XML instance is located. + The owning relational schema for this XML instance. + + + Represents a collection of parameters associated with a and their respective mappings to columns in a . This class cannot be inherited. + + + Adds the specified object to the . + The to add to the collection. + A new object. + The specified in the parameter is already added to this or another . + The parameter passed was not a . + The parameter is null. + + + Adds the specified object to the . + An . + The index of the new object. + + + Adds a to the given the parameter name and the data type. + The name of the parameter. + One of the values. + A new object. + + + Adds a to the , given the specified parameter name, and size. + The name of the parameter. + The of the to add to the collection. + The size as an . + A new object. + + + Adds a to the with the parameter name, the data type, and the column length. + The name of the parameter. + One of the values. + The column length. + The name of the source column () if this is used in a call to . + A new object. + + + Adds an array of values to the end of the . + The values to add. + + + Adds an array of values to the end of the . + The values to add. + + + Adds a value to the end of the . + The name of the parameter. + The value to be added. Use instead of null, to indicate a null value. + A object. + + + Removes all the objects from the . + + + Determines whether the specified is in this . + The value. + + if the contains the value; otherwise, . + + + Determines whether the specified is in this . + The value. + + if the contains the value; otherwise, . + + + Determines whether the specified parameter name is in this . + The value. + + if the contains the value; otherwise, . + + + Copies all the elements of the current to the specified one-dimensional starting at the specified destination index. + The one-dimensional that is the destination of the elements copied from the current . + A 32-bit integer that represents the index in the at which copying starts. + + + Copies all the elements of the current to the specified starting at the specified destination index. + The that is the destination of the elements copied from the current . + A 32-bit integer that represents the index in the at which copying starts. + + + Returns an Integer that contains the number of elements in the . Read-only. + The number of elements in the as an Integer. + + + Returns an enumerator that iterates through the . + An for the . + + + Gets the location of the specified within the collection. + The to find. + The zero-based location of the specified that is a within the collection. Returns -1 when the object does not exist in the . + + + Gets the location of the specified within the collection. + The to find. + The zero-based location of the specified that is a within the collection. Returns -1 when the object does not exist in the . + + + Gets the location of the specified with the specified name. + The case-sensitive name of the to find. + The zero-based location of the specified with the specified case-sensitive name. Returns -1 when the object does not exist in the . + + + Inserts a object into the at the specified index. + The zero-based index at which value should be inserted. + A object to be inserted in the . + + + Inserts an into the at the specified index. + The zero-based index at which value should be inserted. + An to be inserted in the . + + + Gets a value that indicates whether the has a fixed size. + + if the has a fixed size; otherwise, . + + + Gets a value that indicates whether the is read-only. + + if the is read-only; otherwise, . + + + Gets the at the specified index. + The zero-based index of the parameter to retrieve. + The at the specified index. + The specified index does not exist. + + + Gets the with the specified name. + The name of the parameter to retrieve. + The with the specified name. + The specified is not valid. + + + Removes the specified from the collection. + A object to remove from the collection. + The parameter is not a . + The parameter does not exist in the collection. + + + Removes the specified from the collection. + The object to remove from the collection. + + + Removes the from the at the specified index. + The zero-based index of the object to remove. + + + Removes the from the at the specified parameter name. + The name of the to remove. + + + Gets an object that can be used to synchronize access to the . + An object that can be used to synchronize access to the . + + + Represents the set of arguments passed to the . + + + Creates a new instance of the object. + An that indicates the number of rows copied during the current bulk copy operation. + + + Gets or sets a value that indicates whether the bulk copy operation should be aborted. + + if the bulk copy operation should be aborted; otherwise . + + + Gets a value that returns the number of rows copied during the current bulk copy operation. + + that returns the number of rows copied. + + + Represents the method that handles the event of a . + The source of the event. + A object that contains the event data. + + + Provides data for the event. + + + Initializes a new instance of the class. + The sent through an . + The executed when is called. + One of the values that specifies the type of query executed. + The sent through an . + + + Gets or sets the executed when is called. + The executed when is called. + + + Represents the method that will handle the event of a . + The source of the event. + The that contains the event data. + + + Provides data for the event. + + + Initializes a new instance of the class. + The to . + The to execute during . + One of the values that specifies the type of query executed. + The sent through an . + + + Gets or sets the to execute when performing the . + The to execute when performing the . + + + Represents the method that will handle the event of a . + The source of the event. + The that contains the event data. + + + Represents a Transact-SQL transaction to be made in a SQL Server database. This class cannot be inherited. + + + Commits the database transaction. + An error occurred while trying to commit the transaction. + The transaction has already been committed or rolled back. +-or- +The connection is broken. + + + Gets the object associated with the transaction, or if the transaction is no longer valid. + The object associated with the transaction. + + + Specifies the for this transaction. + The for this transaction. The default is . + + + Rolls back a transaction from a pending state. + An error occurred while trying to commit the transaction. + The transaction has already been committed or rolled back. +-or- +The connection is broken. + + + Rolls back a transaction from a pending state, and specifies the transaction or savepoint name. + The name of the transaction to roll back, or the savepoint to which to roll back. + No transaction name was specified. + The transaction has already been committed or rolled back. +-or- +The connection is broken. + + + Creates a savepoint in the transaction that can be used to roll back a part of the transaction, and specifies the savepoint name. + The name of the savepoint. + An error occurred while trying to commit the transaction. + The transaction has already been committed or rolled back. +-or- +The connection is broken. + + + Exposes SQL Server data that is stored with the FILESTREAM column attribute as a sequence of bytes. + + + Initializes a new instance of the class. + The logical path to the file. The path can be retrieved by using the Transact-SQL Pathname function on the underlying FILESTREAM column in the table. + The transaction context for the object. Applications should return the byte array returned by calling the GET_FILESTREAM_TRANSACTION_CONTEXT method. + The access mode to use when opening the file. Supported enumeration values are , , and . +When using , the object can be used to read all of the existing data. +When using , points to a zero byte file. Existing data will be overwritten when the object is closed and the transaction is committed. +When using , the points to a file which has all the existing data in it. The handle is positioned at the beginning of the file. You can use one of the methods to move the handle position within the file to write or append new data. + + is a null reference, or is null. + + is an empty string (""), contains only white space, or contains one or more invalid characters. + begins with "\\.\", for example "\\.\PHYSICALDRIVE0 ". +The handle returned by the call to NTCreateFile is not of type FILE_TYPE_DISK. + contains an unsupported value. + The file cannot be found. + An I/O error occurred. + The caller does not have the required permission. + The specified is invalid, such as being on an unmapped drive. + The access requested is not permitted by the operating system for the specified path. This occurs when Write or ReadWrite access is specified, and the file or directory is set for read-only access. + NtCreateFile fails with error code set to ERROR_SHARING_VIOLATION. + + + Initializes a new instance of the class. + The logical path to the file. The path can be retrieved by using the Transact-SQL Pathname function on the underlying FILESTREAM column in the table. + The transaction context for the object. When set to null, an implicit transaction will be used for the object. Applications should return the byte array returned by calling the GET_FILESTREAM_TRANSACTION_CONTEXT method. + The access mode to use when opening the file. Supported enumeration values are , , and . +When using , the object can be used to read all of the existing data. +When using , points to a zero byte file. Existing data will be overwritten when the object is closed and the transaction is committed. +When using , the points to a file which has all the existing data in it. The handle is positioned at the beginning of the file. You can use one of the methods to move the handle position within the file to write or append new data. + Specifies the option to use while opening the file. Supported values are , , , and . + The allocation size to use while creating a file. If set to 0, the default value is used. + + is a null reference, or is null. + + is an empty string (""), contains only white space, or contains one or more invalid characters. + begins with "\\.\", for example "\\.\PHYSICALDRIVE0 ". +The handle returned by call to NTCreateFile is not of type FILE_TYPE_DISK. + contains an unsupported value. + The file cannot be found. + An I/O error occurred. + The caller does not have the required permission. + The specified is invalid, such as being on an unmapped drive. + The access requested is not permitted by the operating system for the specified path. This occurs when Write or ReadWrite access is specified, and the file or directory is set for read-only access. + NtCreateFile fails with error code set to ERROR_SHARING_VIOLATION. + + + Gets a value indicating whether the current stream supports reading. + + if the current stream supports reading; otherwise, . + + + Gets a value indicating whether the current stream supports seeking. + + if the current stream supports seeking; otherwise, . + + + Gets a value indicating whether the current stream supports writing. + + if the current stream supports writing; otherwise, . + + + clears all buffers for this stream and causes any buffered data to be written to the underlying device. + + + Gets a value indicating the length of the current stream in bytes. + An indicating the length of the current stream in bytes. + + + Gets the logical path of the passed to the constructor. + A string value indicating the name of the . + + + Gets or sets the position within the current stream. + The current position within the . + + + Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. + An array of bytes. When this method returns, the buffer contains the specified byte array with the values between offset and (offset + count - 1) replaced by the bytes read from the current source. + The zero-based byte offset in buffer at which to begin storing the data read from the current stream. + The maximum number of bytes to be read from the current stream. + The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached. + The object does not support reading of data. + + + Sets the position within the current stream. + A byte offset relative to the parameter + A value of type indicating the reference point used to obtain the new position + The new position within the current stream. + + + Sets the length of the current stream. + The desired length of the current stream in bytes. + The object does not support reading of data. + + + Gets or sets the transaction context for this object. + The array that was passed to the constructor for this object. + + + Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. + An array of bytes. This method copies bytes from to the current stream. + The zero-based byte offset in at which to begin copying bytes to the current stream. + The number of bytes to be written to the current stream. + The object does not support writing of data. + + + \ No newline at end of file diff --git a/shangjian/CommonFunc/bin/x86/Debug/System.Memory.dll b/shangjian/CommonFunc/bin/x86/Debug/System.Memory.dll new file mode 100644 index 0000000..5d19470 Binary files /dev/null and b/shangjian/CommonFunc/bin/x86/Debug/System.Memory.dll differ diff --git a/shangjian/CommonFunc/bin/x86/Debug/System.Memory.xml b/shangjian/CommonFunc/bin/x86/Debug/System.Memory.xml new file mode 100644 index 0000000..4d12fd7 --- /dev/null +++ b/shangjian/CommonFunc/bin/x86/Debug/System.Memory.xml @@ -0,0 +1,355 @@ + + + System.Memory + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/shangjian/CommonFunc/bin/x86/Debug/System.Numerics.Vectors.dll b/shangjian/CommonFunc/bin/x86/Debug/System.Numerics.Vectors.dll new file mode 100644 index 0000000..0865972 Binary files /dev/null and b/shangjian/CommonFunc/bin/x86/Debug/System.Numerics.Vectors.dll differ diff --git a/shangjian/CommonFunc/bin/x86/Debug/System.Numerics.Vectors.xml b/shangjian/CommonFunc/bin/x86/Debug/System.Numerics.Vectors.xml new file mode 100644 index 0000000..da34d39 --- /dev/null +++ b/shangjian/CommonFunc/bin/x86/Debug/System.Numerics.Vectors.xml @@ -0,0 +1,2621 @@ + + + System.Numerics.Vectors + + + + Represents a 3x2 matrix. + + + Creates a 3x2 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a rotation matrix using the given rotation in radians. + The amount of rotation, in radians. + The rotation matrix. + + + Creates a rotation matrix using the specified rotation in radians and a center point. + The amount of rotation, in radians. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified X and Y components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center. + The uniform scale to use. + The center offset. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The center point. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the given scale. + The uniform scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale with an offset from the specified center point. + The scale to use. + The center offset. + The scaling matrix. + + + Creates a skew matrix from the specified angles in radians. + The X angle, in radians. + The Y angle, in radians. + The skew matrix. + + + Creates a skew matrix from the specified angles in radians and a center point. + The X angle, in radians. + The Y angle, in radians. + The center point. + The skew matrix. + + + Creates a translation matrix from the specified 2-dimensional vector. + The translation position. + The translation matrix. + + + Creates a translation matrix from the specified X and Y components. + The X position. + The Y position. + The translation matrix. + + + Returns a value that indicates whether this instance and another 3x2 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant for this matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + The multiplicative identify matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Represents a 4x4 matrix. + + + Creates a object from a specified object. + A 3x2 matrix. + + + Creates a 4x4 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the third element in the first row. + The value to assign to the fourth element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the third element in the second row. + The value to assign to the third element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + The value to assign to the third element in the third row. + The value to assign to the fourth element in the third row. + The value to assign to the first element in the fourth row. + The value to assign to the second element in the fourth row. + The value to assign to the third element in the fourth row. + The value to assign to the fourth element in the fourth row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a spherical billboard that rotates around a specified object position. + The position of the object that the billboard will rotate around. + The position of the camera. + The up vector of the camera. + The forward vector of the camera. + The created billboard. + + + Creates a cylindrical billboard that rotates around a specified axis. + The position of the object that the billboard will rotate around. + The position of the camera. + The axis to rotate the billboard around. + The forward vector of the camera. + The forward vector of the object. + The billboard matrix. + + + Creates a matrix that rotates around an arbitrary vector. + The axis to rotate around. + The angle to rotate around axis, in radians. + The rotation matrix. + + + Creates a rotation matrix from the specified Quaternion rotation value. + The source Quaternion. + The rotation matrix. + + + Creates a rotation matrix from the specified yaw, pitch, and roll. + The angle of rotation, in radians, around the Y axis. + The angle of rotation, in radians, around the X axis. + The angle of rotation, in radians, around the Z axis. + The rotation matrix. + + + Creates a view matrix. + The position of the camera. + The target towards which the camera is pointing. + The direction that is &quot;up&quot; from the camera&#39;s point of view. + The view matrix. + + + Creates an orthographic perspective matrix from the given view volume dimensions. + The width of the view volume. + The height of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a customized orthographic projection matrix. + The minimum X-value of the view volume. + The maximum X-value of the view volume. + The minimum Y-value of the view volume. + The maximum Y-value of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a perspective projection matrix from the given view volume dimensions. + The width of the view volume at the near view plane. + The height of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a perspective projection matrix based on a field of view, aspect ratio, and near and far view plane distances. + The field of view in the y direction, in radians. + The aspect ratio, defined as view space width divided by height. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + fieldOfView is less than or equal to zero. + -or- + fieldOfView is greater than or equal to . + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a customized perspective projection matrix. + The minimum x-value of the view volume at the near view plane. + The maximum x-value of the view volume at the near view plane. + The minimum y-value of the view volume at the near view plane. + The maximum y-value of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a matrix that reflects the coordinate system about a specified plane. + The plane about which to create a reflection. + A new matrix expressing the reflection. + + + Creates a matrix for rotating points around the X axis. + The amount, in radians, by which to rotate around the X axis. + The rotation matrix. + + + Creates a matrix for rotating points around the X axis from a center point. + The amount, in radians, by which to rotate around the X axis. + The center point. + The rotation matrix. + + + The amount, in radians, by which to rotate around the Y axis from a center point. + The amount, in radians, by which to rotate around the Y-axis. + The center point. + The rotation matrix. + + + Creates a matrix for rotating points around the Y axis. + The amount, in radians, by which to rotate around the Y-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis. + The amount, in radians, by which to rotate around the Z-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis from a center point. + The amount, in radians, by which to rotate around the Z-axis. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a uniform scaling matrix that scale equally on each axis. + The uniform scaling factor. + The scaling matrix. + + + Creates a scaling matrix with a center point. + The vector that contains the amount to scale on each axis. + The center point. + The scaling matrix. + + + Creates a uniform scaling matrix that scales equally on each axis with a center point. + The uniform scaling factor. + The center point. + The scaling matrix. + + + Creates a scaling matrix from the specified X, Y, and Z components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The center point. + The scaling matrix. + + + Creates a matrix that flattens geometry into a specified plane as if casting a shadow from a specified light source. + The direction from which the light that will cast the shadow is coming. + The plane onto which the new matrix should flatten geometry so as to cast a shadow. + A new matrix that can be used to flatten geometry onto the specified plane from the specified direction. + + + Creates a translation matrix from the specified 3-dimensional vector. + The amount to translate in each axis. + The translation matrix. + + + Creates a translation matrix from the specified X, Y, and Z components. + The amount to translate on the X axis. + The amount to translate on the Y axis. + The amount to translate on the Z axis. + The translation matrix. + + + Creates a world matrix with the specified parameters. + The position of the object. + The forward direction of the object. + The upward direction of the object. Its value is usually [0, 1, 0]. + The world matrix. + + + Attempts to extract the scale, translation, and rotation components from the given scale, rotation, or translation matrix. The return value indicates whether the operation succeeded. + The source matrix. + When this method returns, contains the scaling component of the transformation matrix if the operation succeeded. + When this method returns, contains the rotation component of the transformation matrix if the operation succeeded. + When the method returns, contains the translation component of the transformation matrix if the operation succeeded. + true if matrix was decomposed successfully; otherwise, false. + + + Returns a value that indicates whether this instance and another 4x4 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant of the current 4x4 matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + Gets the multiplicative identity matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The third element of the first row. + + + + The fourth element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The third element of the second row. + + + + The fourth element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + The third element of the third row. + + + + The fourth element of the third row. + + + + The first element of the fourth row. + + + + The second element of the fourth row. + + + + The third element of the fourth row. + + + + The fourth element of the fourth row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to care + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Transforms the specified matrix by applying the specified Quaternion rotation. + The matrix to transform. + The rotation t apply. + The transformed matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Transposes the rows and columns of a matrix. + The matrix to transpose. + The transposed matrix. + + + Represents a three-dimensional plane. + + + Creates a object from a specified four-dimensional vector. + A vector whose first three elements describe the normal vector, and whose defines the distance along that normal from the origin. + + + Creates a object from a specified normal and the distance along the normal from the origin. + The plane&#39;s normal vector. + The plane&#39;s distance from the origin along its normal vector. + + + Creates a object from the X, Y, and Z components of its normal, and its distance from the origin on that normal. + The X component of the normal. + The Y component of the normal. + The Z component of the normal. + The distance of the plane along its normal from the origin. + + + Creates a object that contains three specified points. + The first point defining the plane. + The second point defining the plane. + The third point defining the plane. + The plane containing the three points. + + + The distance of the plane along its normal from the origin. + + + + Calculates the dot product of a plane and a 4-dimensional vector. + The plane. + The four-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the normal vector of this plane plus the distance () value of the plane. + The plane. + The 3-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the vector of this plane. + The plane. + The three-dimensional vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another plane object are equal. + The other plane. + true if the two planes are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + The normal vector of the plane. + + + + Creates a new object whose normal vector is the source plane&#39;s normal vector normalized. + The source plane. + The normalized plane. + + + Returns a value that indicates whether two planes are equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether two planes are not equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the string representation of this plane object. + A string that represents this object. + + + Transforms a normalized plane by a 4x4 matrix. + The normalized plane to transform. + The transformation matrix to apply to plane. + The transformed plane. + + + Transforms a normalized plane by a Quaternion rotation. + The normalized plane to transform. + The Quaternion rotation to apply to the plane. + A new plane that results from applying the Quaternion rotation. + + + Represents a vector that is used to encode three-dimensional physical rotations. + + + Creates a quaternion from the specified vector and rotation parts. + The vector part of the quaternion. + The rotation part of the quaternion. + + + Constructs a quaternion from the specified components. + The value to assign to the X component of the quaternion. + The value to assign to the Y component of the quaternion. + The value to assign to the Z component of the quaternion. + The value to assign to the W component of the quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Concatenates two quaternions. + The first quaternion rotation in the series. + The second quaternion rotation in the series. + A new quaternion representing the concatenation of the value1 rotation followed by the value2 rotation. + + + Returns the conjugate of a specified quaternion. + The quaternion. + A new quaternion that is the conjugate of value. + + + Creates a quaternion from a vector and an angle to rotate about the vector. + The vector to rotate around. + The angle, in radians, to rotate around the vector. + The newly created quaternion. + + + Creates a quaternion from the specified rotation matrix. + The rotation matrix. + The newly created quaternion. + + + Creates a new quaternion from the given yaw, pitch, and roll. + The yaw angle, in radians, around the Y axis. + The pitch angle, in radians, around the X axis. + The roll angle, in radians, around the Z axis. + The resulting quaternion. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Calculates the dot product of two quaternions. + The first quaternion. + The second quaternion. + The dot product. + + + Returns a value that indicates whether this instance and another quaternion are equal. + The other quaternion. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Gets a quaternion that represents no rotation. + A quaternion whose values are (0, 0, 0, 1). + + + Returns the inverse of a quaternion. + The quaternion. + The inverted quaternion. + + + Gets a value that indicates whether the current instance is the identity quaternion. + true if the current instance is the identity quaternion; otherwise, false. + + + Calculates the length of the quaternion. + The computed length of the quaternion. + + + Calculates the squared length of the quaternion. + The length squared of the quaternion. + + + Performs a linear interpolation between two quaternions based on a value that specifies the weighting of the second quaternion. + The first quaternion. + The second quaternion. + The relative weight of quaternion2 in the interpolation. + The interpolated quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Divides each component of a specified by its length. + The quaternion to normalize. + The normalized quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Returns a value that indicates whether two quaternions are equal. + The first quaternion to compare. + The second quaternion to compare. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether two quaternions are not equal. + The first quaternion to compare. + The second quaternion to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Interpolates between two quaternions, using spherical linear interpolation. + The first quaternion. + The second quaternion. + The relative weight of the second quaternion in the interpolation. + The interpolated quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this quaternion. + The string representation of this quaternion. + + + The rotation component of the quaternion. + + + + The X value of the vector component of the quaternion. + + + + The Y value of the vector component of the quaternion. + + + + The Z value of the vector component of the quaternion. + + + + Represents a single vector of a specified numeric type that is suitable for low-level optimization of parallel algorithms. + The vector type. T can be any primitive numeric type. + + + Creates a vector whose components are of a specified type. + The numeric type that defines the type of the components in the vector. + + + Creates a vector from a specified array. + A numeric array. + values is null. + + + Creates a vector from a specified array starting at a specified index position. + A numeric array. + The starting index position from which to create the vector. + values is null. + index is less than zero. + -or- + The length of values minus index is less than . + + + Copies the vector instance to a specified destination array. + The array to receive a copy of the vector values. + destination is null. + The number of elements in the current vector is greater than the number of elements available in the destination array. + + + Copies the vector instance to a specified destination array starting at a specified index position. + The array to receive a copy of the vector values. + The starting index in destination at which to begin the copy operation. + destination is null. + The number of elements in the current instance is greater than the number of elements available from startIndex to the end of the destination array. + index is less than zero or greater than the last index in destination. + + + Returns the number of elements stored in the vector. + The number of elements stored in the vector. + Access to the property getter via reflection is not supported. + + + Returns a value that indicates whether this instance is equal to a specified vector. + The vector to compare with this instance. + true if the current instance and other are equal; otherwise, false. + + + Returns a value that indicates whether this instance is equal to a specified object. + The object to compare with this instance. + true if the current instance and obj are equal; otherwise, false. The method returns false if obj is null, or if obj is a vector of a different type than the current instance. + + + Returns the hash code for this instance. + The hash code. + + + Gets the element at a specified index. + The index of the element to return. + The element at index index. + index is less than zero. + -or- + index is greater than or equal to . + + + Returns a vector containing all ones. + A vector containing all ones. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Returns a new vector by performing a bitwise And operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise And of left and right. + + + Returns a new vector by performing a bitwise Or operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise Or of the elements in left and right. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Returns a value that indicates whether each pair of elements in two specified vectors are equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a new vector by performing a bitwise XOr operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise XOr of the elements in left and right. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Returns a value that indicates whether any single pair of elements in the specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if any element pairs in left and right are equal. false if no element pairs are equal. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar value. + The source vector. + A scalar value. + The scaled vector. + + + Multiplies a vector by the given scalar. + The scalar value. + The source vector. + The scaled vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The one&#39;s complement vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates a given vector. + The vector to negate. + The negated vector. + + + Returns the string representation of this vector using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Returns the string representation of this vector using default formatting. + The string representation of this vector. + + + Returns the string representation of this vector using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns a vector containing all zeroes. + A vector containing all zeroes. + + + Provides a collection of static convenience methods for creating, manipulating, combining, and converting generic vectors. + + + Returns a new vector whose elements are the absolute values of the given vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The absolute value vector. + + + Returns a new vector whose values are the sum of each pair of elements from two given vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The summed vector. + + + Returns a new vector by performing a bitwise And Not operation on each pair of corresponding elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a double-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of signed bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a single-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Returns a new vector by performing a bitwise And operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector by performing a bitwise Or operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Creates a new single-precision vector with elements selected between two specified single-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new double-precision vector with elements selected between two specified double-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new vector of a specified type with elements selected between two specified source vectors of the same type based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The vector type. T can be any primitive numeric type. + The new vector with elements selected based on the mask. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose values are the result of dividing the first vector&#39;s elements by the corresponding elements in the second vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The divided vector. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The dot product. + + + Returns a new integral vector whose elements signal whether the elements in two specified double-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified integral vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in two specified long integer vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified single-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in two specified vectors of the same type are equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether each pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left and right are equal; otherwise, false. + + + Returns a value that indicates whether any single pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element pair in left and right is equal; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are greater than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are greater than their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than their corresponding elements in the second vector of the same time. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the single-precision floating-point second vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than or equal to their corresponding elements in the second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than or equal to their corresponding elements in the second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than or equal to their corresponding elements in the second vector of the same type. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than or equal to all the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than or equal to the corresponding element in right; otherwise, false. + + + Gets a value that indicates whether vector operations are subject to hardware acceleration through JIT intrinsic support. + true if vector operations are subject to hardware acceleration; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision vector are less than their corresponding elements in a second single-precision vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in one vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all of the elements in the first vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than or equal to their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than or equal to their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less or equal to their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are less than or equal to their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than or equal to the corresponding element in right; otherwise, false. + + + Returns a new vector whose elements are the maximum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The maximum vector. + + + Returns a new vector whose elements are the minimum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The minimum vector. + + + Returns a new vector whose values are a scalar value multiplied by each of the values of a specified vector. + The scalar value. + The vector. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + Returns a new vector whose values are the product of each pair of elements in two specified vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The product vector. + + + Returns a new vector whose values are the values of a specified vector each multiplied by a scalar value. + The vector. + The scalar value. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose elements are the negation of the corresponding element in the specified vector. + The source vector. + The vector type. T can be any primitive numeric type. + The negated vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector whose elements are the square roots of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The square root vector. + + + Returns a new vector whose values are the difference between the elements in the second vector and their corresponding elements in the first vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The difference vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector by performing a bitwise exclusive Or (XOr) operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Represents a vector with two single-precision floating-point values. + + + Creates a new object whose two elements have the same value. + The value to assign to both elements. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of the vector. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 2 elements are equal to one. + A vector whose two elements are equal to one (that is, it returns the vector (1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 3x2 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 3x2 matrix. + The source vector. + The matrix. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0). + The vector (1,0). + + + Gets the vector (0,1). + The vector (0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + Returns a vector whose 2 elements are equal to zero. + A vector whose two elements are equal to zero (that is, it returns the vector (0,0). + + + Represents a vector with three single-precision floating-point values. + + + Creates a new object whose three elements have the same value. + The value to assign to all three elements. + + + Creates a new object from the specified object and the specified value. + The vector with two elements. + The additional value to assign to the field. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the cross product of two vectors. + The first vector. + The second vector. + The cross product. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 3 elements are equal to one. + A vector whose three elements are equal to one (that is, it returns the vector (1,1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0,0). + The vector (1,0,0). + + + Gets the vector (0,1,0). + The vector (0,1,0).. + + + Gets the vector (0,0,1). + The vector (0,0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 3 elements are equal to zero. + A vector whose three elements are equal to zero (that is, it returns the vector (0,0,0). + + + Represents a vector with four single-precision floating-point values. + + + Creates a new object whose four elements have the same value. + The value to assign to all four elements. + + + Constructs a new object from the specified object and a W component. + The vector to use for the X, Y, and Z components. + The W component. + + + Creates a new object from the specified object and a Z and a W component. + The vector to use for the X and Y components. + The Z component. + The W component. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 4 elements are equal to one. + Returns . + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a four-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a four-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a three-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a two-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a two-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a three-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Gets the vector (0,0,0,1). + The vector (0,0,0,1). + + + Gets the vector (1,0,0,0). + The vector (1,0,0,0). + + + Gets the vector (0,1,0,0). + The vector (0,1,0,0).. + + + Gets a vector whose 4 elements are equal to zero. + The vector (0,0,1,0). + + + The W component of the vector. + + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 4 elements are equal to zero. + A vector whose four elements are equal to zero (that is, it returns the vector (0,0,0,0). + + + \ No newline at end of file diff --git a/shangjian/CommonFunc/bin/x86/Debug/System.Runtime.CompilerServices.Unsafe.dll b/shangjian/CommonFunc/bin/x86/Debug/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 0000000..de9e124 Binary files /dev/null and b/shangjian/CommonFunc/bin/x86/Debug/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/shangjian/CommonFunc/bin/x86/Debug/System.Runtime.CompilerServices.Unsafe.xml b/shangjian/CommonFunc/bin/x86/Debug/System.Runtime.CompilerServices.Unsafe.xml new file mode 100644 index 0000000..6a7cfcf --- /dev/null +++ b/shangjian/CommonFunc/bin/x86/Debug/System.Runtime.CompilerServices.Unsafe.xml @@ -0,0 +1,200 @@ + + + System.Runtime.CompilerServices.Unsafe + + + + Contains generic, low-level functionality for manipulating pointers. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds a byte offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of byte offset to pointer. + + + Determines whether the specified references point to the same location. + The first reference to compare. + The second reference to compare. + The type of reference. + true if left and right point to the same location; otherwise, false. + + + Casts the given object to the specified type. + The object to cast. + The type which the object will be cast to. + The original object, casted to the given type. + + + Reinterprets the given reference as a reference to a value of type TTo. + The reference to reinterpret. + The type of reference to reinterpret.. + The desired type of the reference. + A reference to a value of type TTo. + + + Returns a pointer to the given by-ref parameter. + The object whose pointer is obtained. + The type of object. + A pointer to the given value. + + + Reinterprets the given location as a reference to a value of type T. + The location of the value to reference. + The type of the interpreted location. + A reference to a value of type T. + + + Determines the byte offset from origin to target from the given references. + The reference to origin. + The reference to target. + The type of reference. + Byte offset from origin to target i.e. target - origin. + + + Copies a value of type T to the given location. + The location to copy to. + A reference to the value to copy. + The type of value to copy. + + + Copies a value of type T to the given location. + The location to copy to. + A pointer to the value to copy. + The type of value to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address +without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address +without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value +without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value +without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Reads a value of type T from the given location. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Reads a value of type T from the given location +without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Reads a value of type T from the given location +without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Returns the size of an object of the given type parameter. + The type of object whose size is retrieved. + The size of an object of type T. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subraction of offset from pointer. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subraction of offset from pointer. + + + Subtracts a byte offset from the given reference. + The reference to subtract the offset from. + + The type of reference. + A new reference that reflects the subraction of byte offset from pointer. + + + Writes a value of type T to the given location. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type T to the given location +without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type T to the given location +without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + \ No newline at end of file diff --git a/shangjian/CommonFunc/bin/x86/Debug/XGL.Models.dll b/shangjian/CommonFunc/bin/x86/Debug/XGL.Models.dll new file mode 100644 index 0000000..0a26920 Binary files /dev/null and b/shangjian/CommonFunc/bin/x86/Debug/XGL.Models.dll differ diff --git a/shangjian/CommonFunc/bin/x86/Debug/XGL.Models.dll.config b/shangjian/CommonFunc/bin/x86/Debug/XGL.Models.dll.config new file mode 100644 index 0000000..714d405 --- /dev/null +++ b/shangjian/CommonFunc/bin/x86/Debug/XGL.Models.dll.config @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/shangjian/CommonFunc/bin/x86/Debug/XGL.Models.pdb b/shangjian/CommonFunc/bin/x86/Debug/XGL.Models.pdb new file mode 100644 index 0000000..1785bad Binary files /dev/null and b/shangjian/CommonFunc/bin/x86/Debug/XGL.Models.pdb differ diff --git a/shangjian/CommonFunc/bin/x86/Debug/log4net.dll b/shangjian/CommonFunc/bin/x86/Debug/log4net.dll new file mode 100644 index 0000000..a7f7737 Binary files /dev/null and b/shangjian/CommonFunc/bin/x86/Debug/log4net.dll differ diff --git a/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.csproj.AssemblyReference.cache b/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.csproj.AssemblyReference.cache index 1072331..c51aa32 100644 Binary files a/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.csproj.AssemblyReference.cache and b/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.csproj.AssemblyReference.cache differ diff --git a/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.csproj.CopyComplete b/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.csproj.CoreCompileInputs.cache b/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..254535a --- /dev/null +++ b/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +0d3a19775b762537c0ccc61ba08dfd5625bd5f96 diff --git a/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.dll b/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.dll new file mode 100644 index 0000000..494839d Binary files /dev/null and b/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.dll differ diff --git a/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.g.resources b/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.g.resources new file mode 100644 index 0000000..9a9ef87 Binary files /dev/null and b/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.g.resources differ diff --git a/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.pdb b/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.pdb new file mode 100644 index 0000000..c0dc4ed Binary files /dev/null and b/shangjian/CommonFunc/obj/x86/Debug/CommonFunc.pdb differ diff --git a/shangjian/CommonFunc/obj/x86/Debug/CommonFunc_MarkupCompile.cache b/shangjian/CommonFunc/obj/x86/Debug/CommonFunc_MarkupCompile.cache index fe92624..e773f34 100644 --- a/shangjian/CommonFunc/obj/x86/Debug/CommonFunc_MarkupCompile.cache +++ b/shangjian/CommonFunc/obj/x86/Debug/CommonFunc_MarkupCompile.cache @@ -11,10 +11,10 @@ false DEBUG;TRACE 12023204370 - -231115367844 +11419817861 +241494203934 44-550732465 HMessageBox.xaml; -True +False diff --git a/shangjian/CommonFunc/obj/x86/Debug/HMessageBox.baml b/shangjian/CommonFunc/obj/x86/Debug/HMessageBox.baml new file mode 100644 index 0000000..ac85f7f Binary files /dev/null and b/shangjian/CommonFunc/obj/x86/Debug/HMessageBox.baml differ diff --git a/shangjian/LanJu/bin/Debug/LanJu.exe b/shangjian/LanJu/bin/Debug/LanJu.exe index d365ac7..7587aba 100644 Binary files a/shangjian/LanJu/bin/Debug/LanJu.exe and b/shangjian/LanJu/bin/Debug/LanJu.exe differ diff --git a/shangjian/LanJu/bin/Debug/LanJu.pdb b/shangjian/LanJu/bin/Debug/LanJu.pdb index 6f82d05..8e82317 100644 Binary files a/shangjian/LanJu/bin/Debug/LanJu.pdb and b/shangjian/LanJu/bin/Debug/LanJu.pdb differ diff --git a/shangjian/LanJu/obj/Debug/LanJu.exe b/shangjian/LanJu/obj/Debug/LanJu.exe index d365ac7..7587aba 100644 Binary files a/shangjian/LanJu/obj/Debug/LanJu.exe and b/shangjian/LanJu/obj/Debug/LanJu.exe differ diff --git a/shangjian/LanJu/obj/Debug/LanJu.g.resources b/shangjian/LanJu/obj/Debug/LanJu.g.resources index 3c5297b..5b5a21c 100644 Binary files a/shangjian/LanJu/obj/Debug/LanJu.g.resources and b/shangjian/LanJu/obj/Debug/LanJu.g.resources differ diff --git a/shangjian/LanJu/obj/Debug/LanJu.pdb b/shangjian/LanJu/obj/Debug/LanJu.pdb index 6f82d05..8e82317 100644 Binary files a/shangjian/LanJu/obj/Debug/LanJu.pdb and b/shangjian/LanJu/obj/Debug/LanJu.pdb differ diff --git a/shangjian/LanJu/obj/Debug/Views/LanJu_Prepare.baml b/shangjian/LanJu/obj/Debug/Views/LanJu_Prepare.baml index 9c1aecc..77e0ff2 100644 Binary files a/shangjian/LanJu/obj/Debug/Views/LanJu_Prepare.baml and b/shangjian/LanJu/obj/Debug/Views/LanJu_Prepare.baml differ diff --git a/shangjian/LanJu/obj/Debug/Views/LanJu_Prepare.g.cs b/shangjian/LanJu/obj/Debug/Views/LanJu_Prepare.g.cs index 2a3b677..00e0e01 100644 --- a/shangjian/LanJu/obj/Debug/Views/LanJu_Prepare.g.cs +++ b/shangjian/LanJu/obj/Debug/Views/LanJu_Prepare.g.cs @@ -1,5 +1,4 @@ -// Updated by XamlIntelliSenseFileGenerator 2023-8-21 11:37:23 -#pragma checksum "..\..\..\Views\LanJu_Prepare.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "4ED23CEE126987D73089B80D2B02FE50005DC73FC0F8D483F3B398CF05D824ED" +#pragma checksum "..\..\..\Views\LanJu_Prepare.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "64707632E97E11320B4AF88E42DE13B33B062A7F54D5E1401F7FF2A6358059B1" //------------------------------------------------------------------------------ // // 此代码由工具生成。 @@ -33,65 +32,69 @@ using System.Windows.Shapes; using System.Windows.Shell; -namespace COSMO.IM.LanJu.Index -{ - - +namespace COSMO.IM.LanJu.Index { + + /// /// LanJu_Prepare /// - public partial class LanJu_Prepare : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector - { - - -#line 116 "..\..\..\Views\LanJu_Prepare.xaml" + public partial class LanJu_Prepare : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { + + + #line 103 "..\..\..\Views\LanJu_Prepare.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnStartOrders; + + #line default + #line hidden + + + #line 128 "..\..\..\Views\LanJu_Prepare.xaml" [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] internal System.Windows.Controls.DataGrid WorkOrder; - -#line default -#line hidden - + + #line default + #line hidden + private bool _contentLoaded; - + /// /// InitializeComponent /// [System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() - { - if (_contentLoaded) - { + public void InitializeComponent() { + if (_contentLoaded) { return; } _contentLoaded = true; System.Uri resourceLocater = new System.Uri("/LanJu;component/views/lanju_prepare.xaml", System.UriKind.Relative); - -#line 1 "..\..\..\Views\LanJu_Prepare.xaml" + + #line 1 "..\..\..\Views\LanJu_Prepare.xaml" System.Windows.Application.LoadComponent(this, resourceLocater); - -#line default -#line hidden + + #line default + #line hidden } - + [System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) - { + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { - case 1: - this.WorkOrder = ((System.Windows.Controls.DataGrid)(target)); - return; + case 1: + this.btnStartOrders = ((System.Windows.Controls.Button)(target)); + return; + case 2: + this.WorkOrder = ((System.Windows.Controls.DataGrid)(target)); + return; } this._contentLoaded = true; } - - internal System.Windows.Controls.Button btnStartOrders; } } diff --git a/shangjian/LanJu/obj/Debug/Views/LanJu_Prepare.g.i.cs b/shangjian/LanJu/obj/Debug/Views/LanJu_Prepare.g.i.cs index 03ae427..00e0e01 100644 --- a/shangjian/LanJu/obj/Debug/Views/LanJu_Prepare.g.i.cs +++ b/shangjian/LanJu/obj/Debug/Views/LanJu_Prepare.g.i.cs @@ -1,4 +1,4 @@ -#pragma checksum "..\..\..\Views\LanJu_Prepare.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "4ED23CEE126987D73089B80D2B02FE50005DC73FC0F8D483F3B398CF05D824ED" +#pragma checksum "..\..\..\Views\LanJu_Prepare.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "64707632E97E11320B4AF88E42DE13B33B062A7F54D5E1401F7FF2A6358059B1" //------------------------------------------------------------------------------ // // 此代码由工具生成。 @@ -41,7 +41,15 @@ namespace COSMO.IM.LanJu.Index { public partial class LanJu_Prepare : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { - #line 116 "..\..\..\Views\LanJu_Prepare.xaml" + #line 103 "..\..\..\Views\LanJu_Prepare.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnStartOrders; + + #line default + #line hidden + + + #line 128 "..\..\..\Views\LanJu_Prepare.xaml" [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] internal System.Windows.Controls.DataGrid WorkOrder; @@ -79,6 +87,9 @@ namespace COSMO.IM.LanJu.Index { switch (connectionId) { case 1: + this.btnStartOrders = ((System.Windows.Controls.Button)(target)); + return; + case 2: this.WorkOrder = ((System.Windows.Controls.DataGrid)(target)); return; } diff --git a/shangjian/LanJuLib/bin/Debug/CommonFunc.dll b/shangjian/LanJuLib/bin/Debug/CommonFunc.dll index d37205d..494839d 100644 Binary files a/shangjian/LanJuLib/bin/Debug/CommonFunc.dll and b/shangjian/LanJuLib/bin/Debug/CommonFunc.dll differ diff --git a/shangjian/LanJuLib/bin/Debug/CommonFunc.pdb b/shangjian/LanJuLib/bin/Debug/CommonFunc.pdb index ba39ac5..c0dc4ed 100644 Binary files a/shangjian/LanJuLib/bin/Debug/CommonFunc.pdb and b/shangjian/LanJuLib/bin/Debug/CommonFunc.pdb differ diff --git a/shangjian/LanJuLib/bin/Debug/XGL.Models.dll b/shangjian/LanJuLib/bin/Debug/XGL.Models.dll index d0e9bbe..0a26920 100644 Binary files a/shangjian/LanJuLib/bin/Debug/XGL.Models.dll and b/shangjian/LanJuLib/bin/Debug/XGL.Models.dll differ diff --git a/shangjian/LanJuLib/bin/Debug/XGL.Models.pdb b/shangjian/LanJuLib/bin/Debug/XGL.Models.pdb index 4e7b96e..1785bad 100644 Binary files a/shangjian/LanJuLib/bin/Debug/XGL.Models.pdb and b/shangjian/LanJuLib/bin/Debug/XGL.Models.pdb differ diff --git a/shangjian/LanJuLib/obj/Debug/LanJuLib.csproj.AssemblyReference.cache b/shangjian/LanJuLib/obj/Debug/LanJuLib.csproj.AssemblyReference.cache index fe7cd98..ddcdd24 100644 Binary files a/shangjian/LanJuLib/obj/Debug/LanJuLib.csproj.AssemblyReference.cache and b/shangjian/LanJuLib/obj/Debug/LanJuLib.csproj.AssemblyReference.cache differ diff --git a/shangjian/XGL.Data/DBService/DBService.cs b/shangjian/XGL.Data/DBService/DBService.cs index b6dc450..b4408cb 100644 --- a/shangjian/XGL.Data/DBService/DBService.cs +++ b/shangjian/XGL.Data/DBService/DBService.cs @@ -635,13 +635,27 @@ select a.TrayCode,a.ProductBarNo,a.carcode,a.createtime,a.lineno,b.HadNumber return null; } + public DataTable GetWetPlanInfo() + { + string sql = $@"select wet.id,wet.factory_code,wet.prod_code, wet.sync_flag,wet.plan_time, workorder_id,bucket_id,bucket_code,material_code,material_name,product_name,wet.shift_desc +from pro_wet_material_plan wet +LEFT JOIN pro_wet_material_plan_detail wetDetail +on wet.id = wetDetail.wet_material_plan_id "; //where wet.plan_time = '{}' + DataSet dtset = Utils.netClientDBHelper.getDataSet(sql); + if (dtset != null && dtset.Tables.Count > 0 && dtset.Tables[0].Rows.Count > 0) + { + return dtset.Tables[0]; + } + return null; + } + /// /// 获取工单是否齐套 /// /// public DataTable GetWorkOrderQitaoLv(string workOrderNo) { - string sql = $@"select status from mes_prepare where workorder_code = '{workOrderNo}'"; + string sql = $@"select status from mes_prepare where wet_detail_plan_id = '{workOrderNo}'"; DataSet dtset = Utils.netClientDBHelper.getDataSet(sql); if (dtset != null && dtset.Tables.Count > 0 && dtset.Tables[0].Rows.Count > 0) diff --git a/shangjian/XGL.Data/bin/x86/Debug/CommonFunc.dll b/shangjian/XGL.Data/bin/x86/Debug/CommonFunc.dll index d37205d..494839d 100644 Binary files a/shangjian/XGL.Data/bin/x86/Debug/CommonFunc.dll and b/shangjian/XGL.Data/bin/x86/Debug/CommonFunc.dll differ diff --git a/shangjian/XGL.Data/bin/x86/Debug/CommonFunc.pdb b/shangjian/XGL.Data/bin/x86/Debug/CommonFunc.pdb index ba39ac5..c0dc4ed 100644 Binary files a/shangjian/XGL.Data/bin/x86/Debug/CommonFunc.pdb and b/shangjian/XGL.Data/bin/x86/Debug/CommonFunc.pdb differ diff --git a/shangjian/XGL.Data/bin/x86/Debug/LanJu.exe b/shangjian/XGL.Data/bin/x86/Debug/LanJu.exe index d365ac7..7587aba 100644 Binary files a/shangjian/XGL.Data/bin/x86/Debug/LanJu.exe and b/shangjian/XGL.Data/bin/x86/Debug/LanJu.exe differ diff --git a/shangjian/XGL.Data/bin/x86/Debug/LanJu.pdb b/shangjian/XGL.Data/bin/x86/Debug/LanJu.pdb index 6f82d05..8e82317 100644 Binary files a/shangjian/XGL.Data/bin/x86/Debug/LanJu.pdb and b/shangjian/XGL.Data/bin/x86/Debug/LanJu.pdb differ diff --git a/shangjian/XGL.Data/bin/x86/Debug/XGL.Data.dll b/shangjian/XGL.Data/bin/x86/Debug/XGL.Data.dll index feb0db6..cf48c4f 100644 Binary files a/shangjian/XGL.Data/bin/x86/Debug/XGL.Data.dll and b/shangjian/XGL.Data/bin/x86/Debug/XGL.Data.dll differ diff --git a/shangjian/XGL.Data/bin/x86/Debug/XGL.Data.pdb b/shangjian/XGL.Data/bin/x86/Debug/XGL.Data.pdb index 1182e01..409447b 100644 Binary files a/shangjian/XGL.Data/bin/x86/Debug/XGL.Data.pdb and b/shangjian/XGL.Data/bin/x86/Debug/XGL.Data.pdb differ diff --git a/shangjian/XGL.Data/bin/x86/Debug/XGL.Models.dll b/shangjian/XGL.Data/bin/x86/Debug/XGL.Models.dll index d0e9bbe..0a26920 100644 Binary files a/shangjian/XGL.Data/bin/x86/Debug/XGL.Models.dll and b/shangjian/XGL.Data/bin/x86/Debug/XGL.Models.dll differ diff --git a/shangjian/XGL.Data/bin/x86/Debug/XGL.Models.pdb b/shangjian/XGL.Data/bin/x86/Debug/XGL.Models.pdb index 4e7b96e..1785bad 100644 Binary files a/shangjian/XGL.Data/bin/x86/Debug/XGL.Models.pdb and b/shangjian/XGL.Data/bin/x86/Debug/XGL.Models.pdb differ diff --git a/shangjian/XGL.Data/obj/x86/Debug/XGL.Data.csproj.AssemblyReference.cache b/shangjian/XGL.Data/obj/x86/Debug/XGL.Data.csproj.AssemblyReference.cache index 07f73d2..783315e 100644 Binary files a/shangjian/XGL.Data/obj/x86/Debug/XGL.Data.csproj.AssemblyReference.cache and b/shangjian/XGL.Data/obj/x86/Debug/XGL.Data.csproj.AssemblyReference.cache differ diff --git a/shangjian/XGL.Data/obj/x86/Debug/XGL.Data.dll b/shangjian/XGL.Data/obj/x86/Debug/XGL.Data.dll index feb0db6..cf48c4f 100644 Binary files a/shangjian/XGL.Data/obj/x86/Debug/XGL.Data.dll and b/shangjian/XGL.Data/obj/x86/Debug/XGL.Data.dll differ diff --git a/shangjian/XGL.Data/obj/x86/Debug/XGL.Data.pdb b/shangjian/XGL.Data/obj/x86/Debug/XGL.Data.pdb index 1182e01..409447b 100644 Binary files a/shangjian/XGL.Data/obj/x86/Debug/XGL.Data.pdb and b/shangjian/XGL.Data/obj/x86/Debug/XGL.Data.pdb differ diff --git a/shangjian/XGL.Model/Model/OrderPrepare/MaterialPlanModel.cs b/shangjian/XGL.Model/Model/OrderPrepare/MaterialPlanModel.cs index f38c386..cc643f0 100644 --- a/shangjian/XGL.Model/Model/OrderPrepare/MaterialPlanModel.cs +++ b/shangjian/XGL.Model/Model/OrderPrepare/MaterialPlanModel.cs @@ -8,7 +8,29 @@ namespace XGL.Models.Model.OrderPrepare { public class MaterialPlanModel { - public string id { get; set; } - public string Name { get; set; } + public string reqCode { get; set; } + public string reqTime { get; set; } + public string planNo { get; set; } + public List data { get; set; } + } + + public class skuInfo + { + public string sku { get; set; } + public string loadNo { get; set; } + public List unLoadItems { get; set; } + + } + + public class unloadNoInfo + { + public string unloadNo { get; set; } + } + + public class MaterialPlanModelResponse + { + public string reqCode { get; set; } + public string code { get; set; } + public string message { get; set; } } } diff --git a/shangjian/XGL.Model/Model/OrderPrepare/WetMaterialModel.cs b/shangjian/XGL.Model/Model/OrderPrepare/WetMaterialModel.cs new file mode 100644 index 0000000..54b9fbe --- /dev/null +++ b/shangjian/XGL.Model/Model/OrderPrepare/WetMaterialModel.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace XGL.Models.Model.OrderPrepare +{ + public class WetMaterialModel + { + public string id { get; set; } + public string factory_code { get; set; } + + public string prod_code { get; set; } + public string sync_flag { get; set; } + + public DateTime plan_time { get; set; } + public string workorder_id { get; set; } + + public string bucket_id { get; set; } + public string bucket_code { get; set; } + public string material_code { get; set; } + + public string material_name { get; set; } + public string product_name { get; set; } + public string shift_desc { get; set; } + + } +} diff --git a/shangjian/XGL.Model/bin/Debug/XGL.Models.dll b/shangjian/XGL.Model/bin/Debug/XGL.Models.dll index 8aec2ff..0a26920 100644 Binary files a/shangjian/XGL.Model/bin/Debug/XGL.Models.dll and b/shangjian/XGL.Model/bin/Debug/XGL.Models.dll differ diff --git a/shangjian/XGL.Model/bin/Debug/XGL.Models.pdb b/shangjian/XGL.Model/bin/Debug/XGL.Models.pdb index ca6d9fa..1785bad 100644 Binary files a/shangjian/XGL.Model/bin/Debug/XGL.Models.pdb and b/shangjian/XGL.Model/bin/Debug/XGL.Models.pdb differ diff --git a/shangjian/XGL.Model/obj/Debug/XGL.Models.dll b/shangjian/XGL.Model/obj/Debug/XGL.Models.dll index 8aec2ff..0a26920 100644 Binary files a/shangjian/XGL.Model/obj/Debug/XGL.Models.dll and b/shangjian/XGL.Model/obj/Debug/XGL.Models.dll differ diff --git a/shangjian/XGL.Model/obj/Debug/XGL.Models.pdb b/shangjian/XGL.Model/obj/Debug/XGL.Models.pdb index ca6d9fa..1785bad 100644 Binary files a/shangjian/XGL.Model/obj/Debug/XGL.Models.pdb and b/shangjian/XGL.Model/obj/Debug/XGL.Models.pdb differ diff --git a/shangjian/XGL/Resources/Error.png b/shangjian/XGL/Resources/Error.png new file mode 100644 index 0000000..89b05ae Binary files /dev/null and b/shangjian/XGL/Resources/Error.png differ diff --git a/shangjian/XGL/Resources/Success.png b/shangjian/XGL/Resources/Success.png new file mode 100644 index 0000000..1a06815 Binary files /dev/null and b/shangjian/XGL/Resources/Success.png differ diff --git a/shangjian/XGL/Resources/alert.png b/shangjian/XGL/Resources/alert.png new file mode 100644 index 0000000..b83e589 Binary files /dev/null and b/shangjian/XGL/Resources/alert.png differ diff --git a/shangjian/XGL/Resources/question.png b/shangjian/XGL/Resources/question.png new file mode 100644 index 0000000..3a7eb75 Binary files /dev/null and b/shangjian/XGL/Resources/question.png differ diff --git a/shangjian/XGL/Views/LanJu_Prepare.xaml b/shangjian/XGL/Views/LanJu_Prepare.xaml index 0967e0c..f241e03 100644 --- a/shangjian/XGL/Views/LanJu_Prepare.xaml +++ b/shangjian/XGL/Views/LanJu_Prepare.xaml @@ -152,6 +152,7 @@ HorizontalAlignment="Left" AutoGenerateColumns="False" CanUserResizeColumns="False" + SelectionMode="Single" CellStyle="{StaticResource CustomCellStyle}" FrozenColumnCount="1" IsReadOnly="True"> @@ -198,7 +199,7 @@ - @@ -221,7 +222,35 @@ + Header="生产批次" />--> + + + + + + + diff --git a/shangjian/XGL/Views/LanJu_Prepare.xaml.cs b/shangjian/XGL/Views/LanJu_Prepare.xaml.cs index f0daffe..65f74aa 100644 --- a/shangjian/XGL/Views/LanJu_Prepare.xaml.cs +++ b/shangjian/XGL/Views/LanJu_Prepare.xaml.cs @@ -15,6 +15,7 @@ using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; +using XGL.Models.Model.OrderPrepare; using XGL.Thrift; namespace XGL.Views @@ -30,33 +31,44 @@ namespace XGL.Views } + List modelWareHouse = new List(); + DBService userDbWareHouse = new DBService(); + WorkOrder list_modelWareHouse = new WorkOrder(); + List wetList = new List(); + WetMaterialModel wet = new WetMaterialModel(); + string messageOrderCode = ""; /// /// /// 获取主页显示订单 /// /// /// - List modelWareHouse = new List(); - DBService userDbWareHouse = new DBService(); - WorkOrder list_modelWareHouse = new WorkOrder(); - string messageOrderCode = ""; private void GetWorkOrder() { try { - modelWareHouse = new List(); - userDbWareHouse = new DBService(); - var Items = userDbWareHouse.GetWorkOrderList(); + //modelWareHouse = new List(); + //userDbWareHouse = new DBService(); + var Items = userDbWareHouse.GetWetPlanInfo(); foreach (DataRow i in Items.Rows) { - list_modelWareHouse.WorkOrderCode = i["WorkOrderCode"].ToString(); - list_modelWareHouse.OrderCode = i["OrderCode"].ToString(); - list_modelWareHouse.ProductName = i["ProductName"].ToString(); - list_modelWareHouse.ProductSpc = i["ProductSpc"].ToString(); - list_modelWareHouse.QuantitySplit = i["QuantitySplit"].ToString(); - list_modelWareHouse.BatchCode = i["BatchCode"].ToString(); - modelWareHouse.Add(list_modelWareHouse); + wet.id = i["id"].ToString(); + wet.workorder_id = i["workorder_id"].ToString(); + wet.product_name = i["product_name"].ToString(); + + wet.material_code = i["material_code"].ToString(); + wet.plan_time = Convert.ToDateTime(i["plan_time"].ToString()); + wet.bucket_code = i["bucket_code"].ToString(); + wet.shift_desc = i["shift_desc"].ToString(); + wetList.Add(wet); + // list_modelWareHouse.WorkOrderCode = i["WorkOrderCode"].ToString(); + // list_modelWareHouse.OrderCode = i["OrderCode"].ToString(); + // list_modelWareHouse.ProductName = i["ProductName"].ToString(); + // list_modelWareHouse.ProductSpc = i["ProductSpc"].ToString(); + // list_modelWareHouse.QuantitySplit = i["QuantitySplit"].ToString(); + // list_modelWareHouse.BatchCode = i["BatchCode"].ToString(); + // modelWareHouse.Add(list_modelWareHouse); } this.WorkOrder.ItemsSource = modelWareHouse; } @@ -79,15 +91,23 @@ namespace XGL.Views } private void btnStartOrders_Click(object sender, RoutedEventArgs e) { - var wmsState = userDbWareHouse.GetWorkOrderQitaoLv(""); + if (WorkOrder.SelectedItems.Count == 0) + { + CustomMessageBox.Show("请选择要开始的工单!", CustomMessageBoxIcon.Warning); + return; + } + string orderID = (WorkOrder.SelectedItem as WetMaterialModel).id; + var wmsState = userDbWareHouse.GetWorkOrderQitaoLv(orderID); if (wmsState == null || wmsState.Rows[0][0].Equals("0")) { CustomMessageBox.Show("该工单未准备好,请稍后再试!", CustomMessageBoxIcon.Warning); return; } string apiUrl = "http://example.com/api/endpoint"; - string jsonContent = "{\"key1\":\"value1\",\"key2\":\"value2\"}"; + string jsonContent = "{\"key1\":\"value1\",\"key2\":\"value2\"}"; + MaterialPlanModel materialPlanModel = new MaterialPlanModel(); + //materialPlanModel.reqCode = CommonFunc.Common. RestHelper restClient = new RestHelper(); var response = restClient.PostAsync(apiUrl, jsonContent); diff --git a/shangjian/XGL/bin/x86/Debug/CentralControl.exe b/shangjian/XGL/bin/x86/Debug/CentralControl.exe index 21cb73a..3e9e5be 100644 Binary files a/shangjian/XGL/bin/x86/Debug/CentralControl.exe and b/shangjian/XGL/bin/x86/Debug/CentralControl.exe differ diff --git a/shangjian/XGL/bin/x86/Debug/CentralControl.pdb b/shangjian/XGL/bin/x86/Debug/CentralControl.pdb index 1071ca1..5468450 100644 Binary files a/shangjian/XGL/bin/x86/Debug/CentralControl.pdb and b/shangjian/XGL/bin/x86/Debug/CentralControl.pdb differ diff --git a/shangjian/XGL/bin/x86/Debug/CommonFunc.dll b/shangjian/XGL/bin/x86/Debug/CommonFunc.dll index d37205d..494839d 100644 Binary files a/shangjian/XGL/bin/x86/Debug/CommonFunc.dll and b/shangjian/XGL/bin/x86/Debug/CommonFunc.dll differ diff --git a/shangjian/XGL/bin/x86/Debug/CommonFunc.pdb b/shangjian/XGL/bin/x86/Debug/CommonFunc.pdb index ba39ac5..c0dc4ed 100644 Binary files a/shangjian/XGL/bin/x86/Debug/CommonFunc.pdb and b/shangjian/XGL/bin/x86/Debug/CommonFunc.pdb differ diff --git a/shangjian/XGL/bin/x86/Debug/LanJu.exe b/shangjian/XGL/bin/x86/Debug/LanJu.exe index d365ac7..7587aba 100644 Binary files a/shangjian/XGL/bin/x86/Debug/LanJu.exe and b/shangjian/XGL/bin/x86/Debug/LanJu.exe differ diff --git a/shangjian/XGL/bin/x86/Debug/LanJu.pdb b/shangjian/XGL/bin/x86/Debug/LanJu.pdb index 6f82d05..8e82317 100644 Binary files a/shangjian/XGL/bin/x86/Debug/LanJu.pdb and b/shangjian/XGL/bin/x86/Debug/LanJu.pdb differ diff --git a/shangjian/XGL/bin/x86/Debug/LogInfo/2023-08-28.TXT b/shangjian/XGL/bin/x86/Debug/LogInfo/2023-08-28.TXT new file mode 100644 index 0000000..ebc4b36 --- /dev/null +++ b/shangjian/XGL/bin/x86/Debug/LogInfo/2023-08-28.TXT @@ -0,0 +1,56 @@ + ʱ䡿:2023-08-28 18:13:18,653 + :ERROR + :CommonFunc.LogHelper + ߳ID: 18232 + ļַ:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\Common.cs 403 + ־ݡ:==========>ȡֵؼֲֵС [loginUser] + ռϸ +--------------------------------------------------------------------------------------------------------------- + ʱ䡿:2023-08-28 18:13:18,720 + :ERROR + :CommonFunc.LogHelper + ߳ID: 18232 + ļַ:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\Common.cs 403 + ־ݡ:==========>ȡֵؼֲֵС [loginpwd] + ռϸ +--------------------------------------------------------------------------------------------------------------- + ʱ䡿:2023-08-28 18:13:35,720 + :ERROR + :CommonFunc.LogHelper + ߳ID: 18232 + ļַ:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\Common.cs 364 + ־ݡ:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\bin\x86\Debug\\System.iniѾͬloginUser + ռϸ +--------------------------------------------------------------------------------------------------------------- + ʱ䡿:2023-08-28 18:13:35,725 + :ERROR + :CommonFunc.LogHelper + ߳ID: 18232 + ļַ:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\Common.cs 364 + ־ݡ:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\bin\x86\Debug\\System.iniѾͬloginpwd + ռϸ +--------------------------------------------------------------------------------------------------------------- + ʱ䡿:2023-08-28 18:13:36,131 + :INFO + :CommonFunc.SqlServerDBHelper + ߳ID: 21020 + ļַ:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\SqlServerDbHelper.cs 50 + ־ݡ:ݿѴ򿪣 + ռϸ +--------------------------------------------------------------------------------------------------------------- + ʱ䡿:2023-08-28 18:13:36,405 + :INFO + :CommonFunc.LogHelper + ߳ID: 21020 + ļַ:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\LoginPage.xaml.cs 127 + ־ݡ:¼ʱ0 + ռϸ +--------------------------------------------------------------------------------------------------------------- + ʱ䡿:2023-08-28 18:13:37,968 + :INFO + :CommonFunc.SqlServerDBHelper + ߳ID: 18232 + ļַ:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\SqlServerDbHelper.cs 50 + ־ݡ:ݿѴ򿪣 + ռϸ +--------------------------------------------------------------------------------------------------------------- diff --git a/shangjian/XGL/bin/x86/Debug/LogInfo/ErrorInfoLog/ERROR_2023-08-28.TXT b/shangjian/XGL/bin/x86/Debug/LogInfo/ErrorInfoLog/ERROR_2023-08-28.TXT new file mode 100644 index 0000000..83775f4 --- /dev/null +++ b/shangjian/XGL/bin/x86/Debug/LogInfo/ErrorInfoLog/ERROR_2023-08-28.TXT @@ -0,0 +1,4 @@ +[2023-08-28 18:13:18,653][ERROR] ==========>ȡֵؼֲֵС [loginUser] +[2023-08-28 18:13:18,720][ERROR] ==========>ȡֵؼֲֵС [loginpwd] +[2023-08-28 18:13:35,720][ERROR] D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\bin\x86\Debug\\System.iniѾͬloginUser +[2023-08-28 18:13:35,725][ERROR] D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\bin\x86\Debug\\System.iniѾͬloginpwd diff --git a/shangjian/XGL/bin/x86/Debug/LogInfo/MachineWainingLog/MWL_2023-08-28.TXT b/shangjian/XGL/bin/x86/Debug/LogInfo/MachineWainingLog/MWL_2023-08-28.TXT new file mode 100644 index 0000000..e69de29 diff --git a/shangjian/XGL/bin/x86/Debug/XGL.Data.dll b/shangjian/XGL/bin/x86/Debug/XGL.Data.dll index feb0db6..cf48c4f 100644 Binary files a/shangjian/XGL/bin/x86/Debug/XGL.Data.dll and b/shangjian/XGL/bin/x86/Debug/XGL.Data.dll differ diff --git a/shangjian/XGL/bin/x86/Debug/XGL.Data.pdb b/shangjian/XGL/bin/x86/Debug/XGL.Data.pdb index 1182e01..409447b 100644 Binary files a/shangjian/XGL/bin/x86/Debug/XGL.Data.pdb and b/shangjian/XGL/bin/x86/Debug/XGL.Data.pdb differ diff --git a/shangjian/XGL/bin/x86/Debug/XGL.Models.dll b/shangjian/XGL/bin/x86/Debug/XGL.Models.dll index d0e9bbe..0a26920 100644 Binary files a/shangjian/XGL/bin/x86/Debug/XGL.Models.dll and b/shangjian/XGL/bin/x86/Debug/XGL.Models.dll differ diff --git a/shangjian/XGL/bin/x86/Debug/XGL.Models.pdb b/shangjian/XGL/bin/x86/Debug/XGL.Models.pdb index 4e7b96e..1785bad 100644 Binary files a/shangjian/XGL/bin/x86/Debug/XGL.Models.pdb and b/shangjian/XGL/bin/x86/Debug/XGL.Models.pdb differ diff --git a/shangjian/XGL/bin/x86/Debug/XGL.exe b/shangjian/XGL/bin/x86/Debug/XGL.exe index 0009f83..628a361 100644 Binary files a/shangjian/XGL/bin/x86/Debug/XGL.exe and b/shangjian/XGL/bin/x86/Debug/XGL.exe differ diff --git a/shangjian/XGL/bin/x86/Debug/XGL.pdb b/shangjian/XGL/bin/x86/Debug/XGL.pdb index 0f611c1..f1ae9ef 100644 Binary files a/shangjian/XGL/bin/x86/Debug/XGL.pdb and b/shangjian/XGL/bin/x86/Debug/XGL.pdb differ diff --git a/shangjian/XGL/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/shangjian/XGL/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache index d980c61..76abf23 100644 Binary files a/shangjian/XGL/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/shangjian/XGL/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/shangjian/XGL/obj/x86/Debug/FormItem/FormBlankingBoard.baml b/shangjian/XGL/obj/x86/Debug/FormItem/FormBlankingBoard.baml index 90d5770..cb99f23 100644 Binary files a/shangjian/XGL/obj/x86/Debug/FormItem/FormBlankingBoard.baml and b/shangjian/XGL/obj/x86/Debug/FormItem/FormBlankingBoard.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/FormItem/FormBoard.baml b/shangjian/XGL/obj/x86/Debug/FormItem/FormBoard.baml index e03940a..5ddf600 100644 Binary files a/shangjian/XGL/obj/x86/Debug/FormItem/FormBoard.baml and b/shangjian/XGL/obj/x86/Debug/FormItem/FormBoard.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/FormItem/FormChargingBoard.baml b/shangjian/XGL/obj/x86/Debug/FormItem/FormChargingBoard.baml index 6214ca5..0daa801 100644 Binary files a/shangjian/XGL/obj/x86/Debug/FormItem/FormChargingBoard.baml and b/shangjian/XGL/obj/x86/Debug/FormItem/FormChargingBoard.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/FormItem/FormLocator.baml b/shangjian/XGL/obj/x86/Debug/FormItem/FormLocator.baml index 0ef4040..6a3c949 100644 Binary files a/shangjian/XGL/obj/x86/Debug/FormItem/FormLocator.baml and b/shangjian/XGL/obj/x86/Debug/FormItem/FormLocator.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/FormItem/FormOutBoxBoard.baml b/shangjian/XGL/obj/x86/Debug/FormItem/FormOutBoxBoard.baml index 4d3e0e0..7349842 100644 Binary files a/shangjian/XGL/obj/x86/Debug/FormItem/FormOutBoxBoard.baml and b/shangjian/XGL/obj/x86/Debug/FormItem/FormOutBoxBoard.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/FormItem/FormShowSelect.baml b/shangjian/XGL/obj/x86/Debug/FormItem/FormShowSelect.baml index 1bc8e66..140841d 100644 Binary files a/shangjian/XGL/obj/x86/Debug/FormItem/FormShowSelect.baml and b/shangjian/XGL/obj/x86/Debug/FormItem/FormShowSelect.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/FormItem/Main.baml b/shangjian/XGL/obj/x86/Debug/FormItem/Main.baml index 7e811d6..b288ed5 100644 Binary files a/shangjian/XGL/obj/x86/Debug/FormItem/Main.baml and b/shangjian/XGL/obj/x86/Debug/FormItem/Main.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/UCArea.baml b/shangjian/XGL/obj/x86/Debug/UControl/UCArea.baml index ec11ecd..5fa205e 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/UCArea.baml and b/shangjian/XGL/obj/x86/Debug/UControl/UCArea.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/UCBoard.baml b/shangjian/XGL/obj/x86/Debug/UControl/UCBoard.baml index 7ef5f6f..8ab3da9 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/UCBoard.baml and b/shangjian/XGL/obj/x86/Debug/UControl/UCBoard.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/UCCar.baml b/shangjian/XGL/obj/x86/Debug/UControl/UCCar.baml index b503f60..8264718 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/UCCar.baml and b/shangjian/XGL/obj/x86/Debug/UControl/UCCar.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/UCCarL.baml b/shangjian/XGL/obj/x86/Debug/UControl/UCCarL.baml index 2e25338..a9db10c 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/UCCarL.baml and b/shangjian/XGL/obj/x86/Debug/UControl/UCCarL.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/UCLMix.baml b/shangjian/XGL/obj/x86/Debug/UControl/UCLMix.baml index ed56983..f0ae121 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/UCLMix.baml and b/shangjian/XGL/obj/x86/Debug/UControl/UCLMix.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/UCMix.baml b/shangjian/XGL/obj/x86/Debug/UControl/UCMix.baml index d517883..1733454 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/UCMix.baml and b/shangjian/XGL/obj/x86/Debug/UControl/UCMix.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/UCMixR.baml b/shangjian/XGL/obj/x86/Debug/UControl/UCMixR.baml index d23b0a3..1ea3a4a 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/UCMixR.baml and b/shangjian/XGL/obj/x86/Debug/UControl/UCMixR.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/UCPermissionList.baml b/shangjian/XGL/obj/x86/Debug/UControl/UCPermissionList.baml index 7649061..919b579 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/UCPermissionList.baml and b/shangjian/XGL/obj/x86/Debug/UControl/UCPermissionList.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/UCPostionList.baml b/shangjian/XGL/obj/x86/Debug/UControl/UCPostionList.baml index a092fba..548f245 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/UCPostionList.baml and b/shangjian/XGL/obj/x86/Debug/UControl/UCPostionList.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/UCProgressBar.baml b/shangjian/XGL/obj/x86/Debug/UControl/UCProgressBar.baml index 7bee117..1485100 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/UCProgressBar.baml and b/shangjian/XGL/obj/x86/Debug/UControl/UCProgressBar.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/UCRProgressBar.baml b/shangjian/XGL/obj/x86/Debug/UControl/UCRProgressBar.baml index f2bdef4..4ea30ee 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/UCRProgressBar.baml and b/shangjian/XGL/obj/x86/Debug/UControl/UCRProgressBar.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/UCRoleList.baml b/shangjian/XGL/obj/x86/Debug/UControl/UCRoleList.baml index 5ff7758..2d32618 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/UCRoleList.baml and b/shangjian/XGL/obj/x86/Debug/UControl/UCRoleList.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/UCStorage.baml b/shangjian/XGL/obj/x86/Debug/UControl/UCStorage.baml index 6080c72..b54839f 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/UCStorage.baml and b/shangjian/XGL/obj/x86/Debug/UControl/UCStorage.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/UCStorageNew.baml b/shangjian/XGL/obj/x86/Debug/UControl/UCStorageNew.baml index 6ba795a..b09fcdd 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/UCStorageNew.baml and b/shangjian/XGL/obj/x86/Debug/UControl/UCStorageNew.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/UCStorageNewx.baml b/shangjian/XGL/obj/x86/Debug/UControl/UCStorageNewx.baml index 8b72f85..b534c80 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/UCStorageNewx.baml and b/shangjian/XGL/obj/x86/Debug/UControl/UCStorageNewx.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/UCTakeOff.baml b/shangjian/XGL/obj/x86/Debug/UControl/UCTakeOff.baml index 816f94e..d670548 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/UCTakeOff.baml and b/shangjian/XGL/obj/x86/Debug/UControl/UCTakeOff.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/UCUserList.baml b/shangjian/XGL/obj/x86/Debug/UControl/UCUserList.baml index 93e7f28..05ff5da 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/UCUserList.baml and b/shangjian/XGL/obj/x86/Debug/UControl/UCUserList.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/ordertj.baml b/shangjian/XGL/obj/x86/Debug/UControl/ordertj.baml index cad03d5..58c2282 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/ordertj.baml and b/shangjian/XGL/obj/x86/Debug/UControl/ordertj.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/orderzfzy.baml b/shangjian/XGL/obj/x86/Debug/UControl/orderzfzy.baml index ea86d4b..f27e25d 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/orderzfzy.baml and b/shangjian/XGL/obj/x86/Debug/UControl/orderzfzy.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/orderzy.baml b/shangjian/XGL/obj/x86/Debug/UControl/orderzy.baml index f8f8d87..8a9caba 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/orderzy.baml and b/shangjian/XGL/obj/x86/Debug/UControl/orderzy.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/product_order.baml b/shangjian/XGL/obj/x86/Debug/UControl/product_order.baml index 5c341af..5ba7137 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/product_order.baml and b/shangjian/XGL/obj/x86/Debug/UControl/product_order.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/product_ordertj.baml b/shangjian/XGL/obj/x86/Debug/UControl/product_ordertj.baml index c218a67..8ca0f68 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/product_ordertj.baml and b/shangjian/XGL/obj/x86/Debug/UControl/product_ordertj.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/product_orderzfzy.baml b/shangjian/XGL/obj/x86/Debug/UControl/product_orderzfzy.baml index ba92220..7d20874 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/product_orderzfzy.baml and b/shangjian/XGL/obj/x86/Debug/UControl/product_orderzfzy.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/UControl/product_orderzy.baml b/shangjian/XGL/obj/x86/Debug/UControl/product_orderzy.baml index 93c28cb..5a645ec 100644 Binary files a/shangjian/XGL/obj/x86/Debug/UControl/product_orderzy.baml and b/shangjian/XGL/obj/x86/Debug/UControl/product_orderzy.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/Views/LanJu_Complete.baml b/shangjian/XGL/obj/x86/Debug/Views/LanJu_Complete.baml index fab84f1..408c583 100644 Binary files a/shangjian/XGL/obj/x86/Debug/Views/LanJu_Complete.baml and b/shangjian/XGL/obj/x86/Debug/Views/LanJu_Complete.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/Views/LanJu_DeviceItems.baml b/shangjian/XGL/obj/x86/Debug/Views/LanJu_DeviceItems.baml index 5490fa4..98b8faf 100644 Binary files a/shangjian/XGL/obj/x86/Debug/Views/LanJu_DeviceItems.baml and b/shangjian/XGL/obj/x86/Debug/Views/LanJu_DeviceItems.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/Views/LanJu_Flow.baml b/shangjian/XGL/obj/x86/Debug/Views/LanJu_Flow.baml index 7602c9d..24b8dff 100644 Binary files a/shangjian/XGL/obj/x86/Debug/Views/LanJu_Flow.baml and b/shangjian/XGL/obj/x86/Debug/Views/LanJu_Flow.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/Views/LanJu_InOut.baml b/shangjian/XGL/obj/x86/Debug/Views/LanJu_InOut.baml index 7102a43..ea93df5 100644 Binary files a/shangjian/XGL/obj/x86/Debug/Views/LanJu_InOut.baml and b/shangjian/XGL/obj/x86/Debug/Views/LanJu_InOut.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/Views/LanJu_Index.baml b/shangjian/XGL/obj/x86/Debug/Views/LanJu_Index.baml index dddfec3..4d9b501 100644 Binary files a/shangjian/XGL/obj/x86/Debug/Views/LanJu_Index.baml and b/shangjian/XGL/obj/x86/Debug/Views/LanJu_Index.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/Views/LanJu_Material.baml b/shangjian/XGL/obj/x86/Debug/Views/LanJu_Material.baml index 7129561..1f551f3 100644 Binary files a/shangjian/XGL/obj/x86/Debug/Views/LanJu_Material.baml and b/shangjian/XGL/obj/x86/Debug/Views/LanJu_Material.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/Views/LanJu_NowUser.baml b/shangjian/XGL/obj/x86/Debug/Views/LanJu_NowUser.baml index e71cd76..bbff224 100644 Binary files a/shangjian/XGL/obj/x86/Debug/Views/LanJu_NowUser.baml and b/shangjian/XGL/obj/x86/Debug/Views/LanJu_NowUser.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/Views/LanJu_Paused.baml b/shangjian/XGL/obj/x86/Debug/Views/LanJu_Paused.baml index 9bc914c..334410f 100644 Binary files a/shangjian/XGL/obj/x86/Debug/Views/LanJu_Paused.baml and b/shangjian/XGL/obj/x86/Debug/Views/LanJu_Paused.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/Views/LanJu_Prepare.baml b/shangjian/XGL/obj/x86/Debug/Views/LanJu_Prepare.baml index 58f2856..d28b9c5 100644 Binary files a/shangjian/XGL/obj/x86/Debug/Views/LanJu_Prepare.baml and b/shangjian/XGL/obj/x86/Debug/Views/LanJu_Prepare.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/Views/LanJu_Prepare.g.cs b/shangjian/XGL/obj/x86/Debug/Views/LanJu_Prepare.g.cs index 87ff083..c213f64 100644 --- a/shangjian/XGL/obj/x86/Debug/Views/LanJu_Prepare.g.cs +++ b/shangjian/XGL/obj/x86/Debug/Views/LanJu_Prepare.g.cs @@ -1,5 +1,4 @@ -// Updated by XamlIntelliSenseFileGenerator 2023-8-21 11:40:23 -#pragma checksum "..\..\..\..\Views\LanJu_Prepare.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "A71AD4DA5D4490D2445FD2DF3A7979ED331CAFAB06A70687BF2AAAAF5E16547A" +#pragma checksum "..\..\..\..\Views\LanJu_Prepare.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "5523EF3D093A5D187296B68ABADA556876B49F5B262B607C098898654B6F61B2" //------------------------------------------------------------------------------ // // 此代码由工具生成。 @@ -33,94 +32,103 @@ using System.Windows.Shell; using XGL.Views; -namespace XGL.Views -{ - - +namespace XGL.Views { + + /// /// LanJu_Prepare /// - public partial class LanJu_Prepare : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector - { - - -#line 135 "..\..\..\..\Views\LanJu_Prepare.xaml" + public partial class LanJu_Prepare : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector { + + + #line 115 "..\..\..\..\Views\LanJu_Prepare.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnStartOrders; + + #line default + #line hidden + + + #line 148 "..\..\..\..\Views\LanJu_Prepare.xaml" [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] internal System.Windows.Controls.DataGrid WorkOrder; - -#line default -#line hidden - + + #line default + #line hidden + private bool _contentLoaded; - + /// /// InitializeComponent /// [System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() - { - if (_contentLoaded) - { + public void InitializeComponent() { + if (_contentLoaded) { return; } _contentLoaded = true; System.Uri resourceLocater = new System.Uri("/XGL;component/views/lanju_prepare.xaml", System.UriKind.Relative); - -#line 1 "..\..\..\..\Views\LanJu_Prepare.xaml" + + #line 1 "..\..\..\..\Views\LanJu_Prepare.xaml" System.Windows.Application.LoadComponent(this, resourceLocater); - -#line default -#line hidden + + #line default + #line hidden } - + [System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) - { + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { - case 1: - -#line 10 "..\..\..\..\Views\LanJu_Prepare.xaml" - ((XGL.Views.LanJu_Prepare)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded); - -#line default -#line hidden - return; - case 2: - this.WorkOrder = ((System.Windows.Controls.DataGrid)(target)); - return; + case 1: + + #line 10 "..\..\..\..\Views\LanJu_Prepare.xaml" + ((XGL.Views.LanJu_Prepare)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded); + + #line default + #line hidden + return; + case 2: + this.btnStartOrders = ((System.Windows.Controls.Button)(target)); + + #line 125 "..\..\..\..\Views\LanJu_Prepare.xaml" + this.btnStartOrders.Click += new System.Windows.RoutedEventHandler(this.btnStartOrders_Click); + + #line default + #line hidden + return; + case 3: + this.WorkOrder = ((System.Windows.Controls.DataGrid)(target)); + return; } this._contentLoaded = true; } - + [System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) - { + void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { switch (connectionId) { - case 3: - -#line 168 "..\..\..\..\Views\LanJu_Prepare.xaml" - ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Flow_Click); - -#line default -#line hidden - break; + case 4: + + #line 181 "..\..\..\..\Views\LanJu_Prepare.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Flow_Click); + + #line default + #line hidden + break; } } - - internal System.Windows.Controls.Button btnStartOrders; } } diff --git a/shangjian/XGL/obj/x86/Debug/Views/LanJu_Prepare.g.i.cs b/shangjian/XGL/obj/x86/Debug/Views/LanJu_Prepare.g.i.cs index f32a8fe..c213f64 100644 --- a/shangjian/XGL/obj/x86/Debug/Views/LanJu_Prepare.g.i.cs +++ b/shangjian/XGL/obj/x86/Debug/Views/LanJu_Prepare.g.i.cs @@ -1,4 +1,4 @@ -#pragma checksum "..\..\..\..\Views\LanJu_Prepare.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "A71AD4DA5D4490D2445FD2DF3A7979ED331CAFAB06A70687BF2AAAAF5E16547A" +#pragma checksum "..\..\..\..\Views\LanJu_Prepare.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "5523EF3D093A5D187296B68ABADA556876B49F5B262B607C098898654B6F61B2" //------------------------------------------------------------------------------ // // 此代码由工具生成。 @@ -41,7 +41,15 @@ namespace XGL.Views { public partial class LanJu_Prepare : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector { - #line 135 "..\..\..\..\Views\LanJu_Prepare.xaml" + #line 115 "..\..\..\..\Views\LanJu_Prepare.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnStartOrders; + + #line default + #line hidden + + + #line 148 "..\..\..\..\Views\LanJu_Prepare.xaml" [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] internal System.Windows.Controls.DataGrid WorkOrder; @@ -87,6 +95,15 @@ namespace XGL.Views { #line hidden return; case 2: + this.btnStartOrders = ((System.Windows.Controls.Button)(target)); + + #line 125 "..\..\..\..\Views\LanJu_Prepare.xaml" + this.btnStartOrders.Click += new System.Windows.RoutedEventHandler(this.btnStartOrders_Click); + + #line default + #line hidden + return; + case 3: this.WorkOrder = ((System.Windows.Controls.DataGrid)(target)); return; } @@ -102,9 +119,9 @@ namespace XGL.Views { void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { switch (connectionId) { - case 3: + case 4: - #line 168 "..\..\..\..\Views\LanJu_Prepare.xaml" + #line 181 "..\..\..\..\Views\LanJu_Prepare.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Flow_Click); #line default diff --git a/shangjian/XGL/obj/x86/Debug/Views/LanJu_User.baml b/shangjian/XGL/obj/x86/Debug/Views/LanJu_User.baml index e591ae3..fc9a82c 100644 Binary files a/shangjian/XGL/obj/x86/Debug/Views/LanJu_User.baml and b/shangjian/XGL/obj/x86/Debug/Views/LanJu_User.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/Views/LanJu_UserRecord.baml b/shangjian/XGL/obj/x86/Debug/Views/LanJu_UserRecord.baml index bb1dfa1..44c69b2 100644 Binary files a/shangjian/XGL/obj/x86/Debug/Views/LanJu_UserRecord.baml and b/shangjian/XGL/obj/x86/Debug/Views/LanJu_UserRecord.baml differ diff --git a/shangjian/XGL/obj/x86/Debug/XGL.csproj.AssemblyReference.cache b/shangjian/XGL/obj/x86/Debug/XGL.csproj.AssemblyReference.cache index eb38870..3754308 100644 Binary files a/shangjian/XGL/obj/x86/Debug/XGL.csproj.AssemblyReference.cache and b/shangjian/XGL/obj/x86/Debug/XGL.csproj.AssemblyReference.cache differ diff --git a/shangjian/XGL/obj/x86/Debug/XGL.exe b/shangjian/XGL/obj/x86/Debug/XGL.exe index 0009f83..628a361 100644 Binary files a/shangjian/XGL/obj/x86/Debug/XGL.exe and b/shangjian/XGL/obj/x86/Debug/XGL.exe differ diff --git a/shangjian/XGL/obj/x86/Debug/XGL.g.resources b/shangjian/XGL/obj/x86/Debug/XGL.g.resources index b7bf5be..d01f65d 100644 Binary files a/shangjian/XGL/obj/x86/Debug/XGL.g.resources and b/shangjian/XGL/obj/x86/Debug/XGL.g.resources differ diff --git a/shangjian/XGL/obj/x86/Debug/XGL.pdb b/shangjian/XGL/obj/x86/Debug/XGL.pdb index 0f611c1..f1ae9ef 100644 Binary files a/shangjian/XGL/obj/x86/Debug/XGL.pdb and b/shangjian/XGL/obj/x86/Debug/XGL.pdb differ