diff --git a/X10D.Unity.dll b/X10D.Unity.dll index 3f8dc88..b3ca389 100644 Binary files a/X10D.Unity.dll and b/X10D.Unity.dll differ diff --git a/X10D.dll b/X10D.dll index 6467e7e..d8bf32b 100644 Binary files a/X10D.dll and b/X10D.dll differ diff --git a/X10D.xml b/X10D.xml index cbf4c11..2cc2cc2 100644 --- a/X10D.xml +++ b/X10D.xml @@ -603,6 +603,76 @@ + exceeds the bounds of the list. + + + Searches for the specified object and returns the zero-based index of the first occurrence within the entire + . + + The list to search + + The object to locate in the . The value can be for reference + types. + + The type of elements in . + + The zero-based index of the first occurrence of item within the entire , if found; otherwise, + -1. + + is . + + + + Searches for the specified object and returns the zero-based index of the first occurrence within the range of + elements in the that extends from the specified index to the last element. + + The list to search + + The object to locate in the . The value can be for reference + types. + + The zero-based starting index of the search. 0 (zero) is valid in an empty list. + The type of elements in . + + The zero-based index of the first occurrence of item within the range of elements in the + that starts at index and contains count number of elements, if found; otherwise, -1. + + is . + + is outside the range of valid indexes for the . + + + + + Searches for the specified object and returns the zero-based index of the first occurrence within the range of + elements in the that starts at the specified index and contains the specified number + of elements. + + The list to search + + The object to locate in the . The value can be for reference + types. + + The zero-based starting index of the search. 0 (zero) is valid in an empty list. + The number of elements in the section to search. + The type of elements in . + + The zero-based index of the first occurrence of item within the range of elements in the + that starts at index and contains count number of elements, if found; otherwise, -1. + + is . + + + is outside the range of valid indexes for the . + + -or- + is less than 0. + -or- + + and do not specify a valid section in the + . + + + Returns a random element from the current list using a specified instance. @@ -648,6 +718,38 @@ is . + + + Forms a slice out of the current list that begins at a specified index. + + The list to slice. + The index at which to begin the slice. + The type of elements in . + + A list that consists of all elements of the current list from to the end of the list. + + is . + + is less than zero or greater than . + + + + + Forms a slice out of the current list that begins at a specified index for a specified length. + + The list to slice. + The index at which to begin the slice. + The desired length for the slice. + The type of elements in . + + A list that consists of all elements of the current list from to the end of the list. + + is . + + or + is less than zero or greater than + . + + Swaps all elements in a list with the elements in another list. @@ -661,6 +763,126 @@ is . + + + Extension methods for and + + + + + Returns the number of times that a specified element appears in a span of elements of the same type. + + The source to search. + The element to count. + The type of elements in . + The number of times that appears in . + + + + Returns the number of times that a specified element appears in a read-only span of elements of the same type. + + The source to search. + The element to count. + The type of elements in . + The number of times that appears in . + + + + Returns a read-only wrapper for the current span. + + The source span. + The type of elements in . + A which wraps the elements in . + + + + Splits a span of elements into sub-spans based on a delimiting element. + + The span to split. + The delimiting element. + The type of elements in . + + An enumerator which wraps and delimits the elements based on . + + + + + Splits a span of elements into sub-spans based on a delimiting element. + + The span to split. + The delimiting element. + The type of elements in . + + An enumerator which wraps and delimits the elements based on . + + + + + Splits a span of elements into sub-spans based on a span of delimiting elements. + + The span to split. + The span of delimiting elements. + The type of elements in . + + An enumerator which wraps and delimits the elements based on . + + + + + Splits a span of elements into sub-spans based on a span of delimiting elements. + + The span to split. + The span of delimiting elements. + The type of elements in . + + An enumerator which wraps and delimits the elements based on . + + + + + Enumerates the elements of a . + + The type of elements in the span. + + + + Initializes a new instance of the struct. + + The source span. + The delimiting span of elements. + + + + Initializes a new instance of the struct. + + The source span. + The delimiting element. + + + + Gets the element at the current position of the enumerator. + + The element in the at the current position of the enumerator. + + + + Returns the current enumerator. + + The current instance of . + + This method exists to provide the ability to enumerate within a foreach loop. It should not be called + manually. + + + + + Advances the enumerator to the next element of the . + + + if the enumerator was successfully advanced to the next element; + if the enumerator has passed the end of the span. + + Extension methods for types. @@ -1113,6 +1335,20 @@ ; otherwise, . + + + Explicitly converts a to a . + + The circle to convert. + The converted circle. + + + + Converts a to a . + + The circle to convert. + The converted circle. + Compares this instance to another . @@ -1340,16 +1576,16 @@ ; otherwise, . - + - Explicitly converts a to a . + Implicitly converts a to a . The circle to convert. The converted circle. - + - Implicitly converts a to a . + Converts a to a . The circle to convert. The converted circle. @@ -1874,6 +2110,27 @@ The circle to convert. The converted ellipse. + + + Explicitly converts an to an . + + The ellipse to convert. + The converted ellipse. + + + + Converts a to an . + + The circle to convert. + The converted ellipse. + + + + Converts an to an . + + The ellipse to convert. + The converted ellipse. + @@ -2017,9 +2274,23 @@ The ellipse to convert. The converted ellipse. - + - Explicitly converts an to an . + Converts a to an . + + The circle to convert. + The converted ellipse. + + + + Converts a to an . + + The circle to convert. + The converted ellipse. + + + + Converts an to an . The ellipse to convert. The converted ellipse. @@ -2162,6 +2433,34 @@ ; otherwise, . + + + Explicitly converts a to a . + + The line to convert. + The converted line. + + + + Explicitly converts a to a . + + The line to convert. + The converted line. + + + + Converts a to a . + + The line to convert. + The converted line. + + + + Converts a to a . + + The line to convert. + The converted line. + Compares this instance to another object. @@ -2386,20 +2685,6 @@ ; otherwise, . - - - Explicitly converts a to a . - - The line to convert. - The converted line. - - - - Explicitly converts a to a . - - The line to convert. - The converted line. - Implicitly converts a to a . @@ -2414,6 +2699,20 @@ The line to convert. The converted line. + + + Converts a to a . + + The line to convert. + The converted line. + + + + Converts a to a . + + The line to convert. + The converted line. + Compares this instance to another object. @@ -2640,16 +2939,30 @@ ; otherwise, . - + - Explicitly converts a to a . + Implicitly converts a to a . The line to convert. The converted line. - + - Implicitly converts a to a . + Explicitly converts a to a . + + The line to convert. + The converted line. + + + + Converts a to a . + + The line to convert. + The converted line. + + + + Converts a to a . The line to convert. The converted line. @@ -2950,6 +3263,21 @@ . + + + Explicitly converts a to a . + + The polygon to convert. + The converted polygon. + + + + Explicitly converts a to a . + + The polygon to convert. + The converted polygon. + is . + Adds a vertex to this polygon. @@ -2998,12 +3326,14 @@ Initializes a new instance of the class by copying the specified polygon. + is . Initializes a new instance of the class by constructing it from the specified vertices. An enumerable collection of vertices from which the polygon should be constructed. + is . @@ -3060,13 +3390,6 @@ . - - - Explicitly converts a to a . - - The polygon to convert. - The converted polygon. - Implicitly converts a to a . @@ -3074,6 +3397,14 @@ The polygon to convert. The converted polygon. + + + Implicitly converts a to a . + + The polygon to convert. + The converted polygon. + is . + Adds a vertex to this polygon. @@ -3135,12 +3466,14 @@ Initializes a new instance of the class by copying the specified polyhedron. + is . Initializes a new instance of the class by constructing it from the specified vertices. An enumerable collection of vertices from which the polyhedron should be constructed. + is . @@ -3195,14 +3528,34 @@ Implicitly converts a to a . The polyhedron to convert. - The converted polyhedron. + + The converted polyhedron, or if is . + Implicitly converts a to a . The polyhedron to convert. + + The converted polyhedron, or if is . + + + + + Converts a to a . + + The polyhedron to convert. The converted polyhedron. + is . + + + + Converts a to a . + + The polyhedron to convert. + The converted polyhedron. + is . @@ -3547,6 +3900,11 @@ Looks up a localized string similar to count must be greater than or equal to 0.. + + + Looks up a localized string similar to Count must be positive and count must refer to a location within the string/array/collection.. + + Looks up a localized string similar to The end index must be less than the list count.. @@ -3567,6 +3925,11 @@ Looks up a localized string similar to HashAlgorithm does not offer Create method.. + + + Looks up a localized string similar to Index was out of range. Must be non-negative and less than or equal to the size of the collection.. + + Looks up a localized string similar to Length must be greater than or equal to 0.. @@ -3672,19 +4035,8 @@ Removes all files and subdirectories in this directory, recursively, without deleting this directory. The directory to clear. - - - - Removes all files and subdirectories in this directory, recursively, without deleting this directory. - - The directory to clear. - - to throw any exceptions which were caught during the operation; otherwise, - - - The directory described by this object does not exist or could not be found. This - exception is not thrown if is . + The directory described by this object does not exist or could not be found. A target file is open or memory-mapped on a computer running Microsoft Windows NT. @@ -3700,15 +4052,9 @@ -or- There is an open handle on the directory or on one of its files, and the operating system is Windows XP or earlier. This open handle can result from enumerating directories and files. - This exception is not thrown if is . - - - The caller does not have the required permission. This exception is not thrown if is - . - - This directory or one of its children contain a read-only file. This - exception is not thrown if is . + The caller does not have the required permission. + This directory or one of its children contain a read-only file. @@ -6928,6 +7274,20 @@ The point. The rotated point. + + + Converts this quaternion to an axis/angle pair. + + The quaternion to convert. + A tuple containing the converted axis, and the angle in radians. + + + + Converts this quaternion to a containing an Euler representation of the rotation. + + The quaternion to convert. + The Euler representation of , in radians. + Extension methods for . @@ -7546,6 +7906,45 @@ A composed of repeated times. + + + Extension methods for and of . + + + + + Counts the occurrences of a substring within the current character span. + + The haystack search space. + The character span to count. + An integer representing the count of inside . + + + + Counts the occurrences of a substring within the current character span, using a specified string comparison method. + + The haystack search space. + The character span to count. + The string comparison method used for determining substring count. + An integer representing the count of inside . + + + + Counts the occurrences of a substring within the current character span. + + The haystack search space. + The character span to count. + An integer representing the count of inside . + + + + Counts the occurrences of a substring within the current character span, using a specified string comparison method. + + The haystack search space. + The character span to count. + The string comparison method used for determining substring count. + An integer representing the count of inside . + Represents a reads from a . @@ -7689,6 +8088,47 @@ is . + + + Counts the occurrences of a character within the current character span. + + The haystack search space. + The character to count. + An integer representing the count of inside . + + + + Counts the occurrences of a character within the current character span. + + The haystack search space. + The character to count. + An integer representing the count of inside . + + + + Counts the occurrences of a character within the current string. + + The haystack search space. + The character to count. + An integer representing the count of inside . + + + + Counts the occurrences of a substring within the current string. + + The haystack search space. + The substring to count. + An integer representing the count of inside . + + + + Counts the occurrences of a substring within the current string, using a specified string comparison method. + + The haystack search space. + The substring to count. + The string comparison method used for determining substring count. + An integer representing the count of inside . + Parses a into an . diff --git a/package.json b/package.json index ebca621..0eb2fbb 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "url": "https://oliverbooth.dev" }, "displayName": "X10D", - "version": "3.2.0-nightly.133", + "version": "3.2.0-nightly.145", "unity": "2021.2", "description": "Extension methods on crack", "keywords": ["dotnet", "extension-methods"],