< Summary

Class:GDX.DataTables.DataBinding.SerializableRow
Assembly:GDX
File(s):./Packages/com.dotbunny.gdx/GDX/DataTables/DataBinding/SerializableRow.cs
Covered lines:0
Uncovered lines:5
Coverable lines:5
Total lines:45
Line coverage:0% (0 of 5)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:1
Method coverage:0% (0 of 1)

Coverage History

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
SerializableRow(...)0%2100%

File(s)

./Packages/com.dotbunny.gdx/GDX/DataTables/DataBinding/SerializableRow.cs

#LineLine coverage
 1// Copyright (c) 2020-2024 dotBunny Inc.
 2// dotBunny licenses this file to you under the BSL-1.0 license.
 3// See the LICENSE file in the project root for more information.
 4
 5using System;
 6
 7namespace GDX.DataTables.DataBinding
 8{
 9    /// <summary>
 10    ///     A serializable representation of a row of data from a <see cref="DataTableBase" />.
 11    /// </summary>
 12    [Serializable]
 13    public class SerializableRow
 14    {
 15#pragma warning disable IDE1006
 16        // ReSharper disable InconsistentNaming
 17
 18        /// <summary>
 19        ///     The unique row identifier.
 20        /// </summary>
 021        public int Identifier = -1;
 22
 23        /// <summary>
 24        ///     The row's user-friendly name.
 25        /// </summary>
 26        public string Name;
 27
 28        /// <summary>
 29        ///     The row's data.
 30        /// </summary>
 31        public string[] Data;
 32
 33        /// <summary>
 34        ///     Create a new serializable row.
 35        /// </summary>
 36        /// <param name="columns">The number of columns in that row.</param>
 037        public SerializableRow(int columns)
 038        {
 039            Data = new string[columns];
 040        }
 41
 42        // ReSharper enable InconsistentNaming
 43#pragma warning restore IDE1006
 44    }
 45}

Methods/Properties

SerializableRow(System.Int32)