GroupingInfo Constructor
Namespace: DevCase.Core.DataProcessing.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public GroupingInfo(
string source,
List<GroupingCharsInfo> groupingChars,
bool hasClosedGroups,
bool hasOpenGroups,
int groupsClosedCount,
int groupsOpenCount,
Dictionary<int, int> groupsClosedPositions,
List<int> groupsOpenPositions
)
Public Sub New (
source As String,
groupingChars As List(Of GroupingCharsInfo),
hasClosedGroups As Boolean,
hasOpenGroups As Boolean,
groupsClosedCount As Integer,
groupsOpenCount As Integer,
groupsClosedPositions As Dictionary(Of Integer, Integer),
groupsOpenPositions As List(Of Integer)
)
Dim source As String
Dim groupingChars As List(Of GroupingCharsInfo)
Dim hasClosedGroups As Boolean
Dim hasOpenGroups As Boolean
Dim groupsClosedCount As Integer
Dim groupsOpenCount As Integer
Dim groupsClosedPositions As Dictionary(Of Integer, Integer)
Dim groupsOpenPositions As List(Of Integer)
Dim instance As New GroupingInfo(source,
groupingChars, hasClosedGroups,
hasOpenGroups, groupsClosedCount,
groupsOpenCount, groupsClosedPositions,
groupsOpenPositions)
public:
GroupingInfo(
String^ source,
List<GroupingCharsInfo^>^ groupingChars,
bool hasClosedGroups,
bool hasOpenGroups,
int groupsClosedCount,
int groupsOpenCount,
Dictionary<int, int>^ groupsClosedPositions,
List<int>^ groupsOpenPositions
)
new :
source : string *
groupingChars : List<GroupingCharsInfo> *
hasClosedGroups : bool *
hasOpenGroups : bool *
groupsClosedCount : int *
groupsOpenCount : int *
groupsClosedPositions : Dictionary<int, int> *
groupsOpenPositions : List<int> -> GroupingInfo
No code example is currently available or this language may not be supported.
Parameters
- source String
-
The source string.
- groupingChars ListGroupingCharsInfo
-
The grouping characters.
- hasClosedGroups Boolean
-
A value that determines whether the source string contains enclosed groups.
- hasOpenGroups Boolean
-
A value that determines whether the source string contains open groups.
- groupsClosedCount Int32
-
The amount of enclosed groups.
- groupsOpenCount Int32
-
The amount of open groups.
- groupsClosedPositions DictionaryInt32, Int32
-
The positions in the string of the enclosed groups.
- groupsOpenPositions ListInt32
-
The positions in the string of the open groups.