Search Results for

    Show / Hide Table of Contents

    Class CountData

    Represents various summary statistics about a piece of content.

    Inheritance
    object
    CountData
    FuzzyCountData
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Sdl.ProjectAutomation.Core
    Assembly: Sdl.ProjectAutomation.Core.dll
    Syntax
    public class CountData

    Constructors

    CountData()

    Declaration
    public CountData()

    Properties

    Characters

    Gets the number of characters.

    Declaration
    public int Characters { get; }
    Property Value
    Type Description
    int

    Placeables

    Gets the number of placeables.

    Declaration
    public int Placeables { get; }
    Property Value
    Type Description
    int

    Segments

    Gets the number of segments

    Declaration
    public int Segments { get; }
    Property Value
    Type Description
    int

    Tags

    Gets the number of tags.

    Declaration
    public int Tags { get; }
    Property Value
    Type Description
    int

    Words

    Gets the number of words.

    Declaration
    public int Words { get; }
    Property Value
    Type Description
    int

    Methods

    Create(int, int, int, int, int)

    Create CountData object with data

    Declaration
    public static CountData Create(int words, int segments, int characters, int placeables, int tags)
    Parameters
    Type Name Description
    int words

    number of words

    int segments

    number of segments

    int characters

    number of characters

    int placeables

    number of placeables

    int tags

    number of tags

    Returns
    Type Description
    CountData

    Increment(CountData)

    Adds the this count data by the another count data

    Declaration
    public void Increment(CountData toIncrement)
    Parameters
    Type Name Description
    CountData toIncrement

    the count data to add

    Increment(int, int, int, int, int)

    Increments the corresponding count data

    Declaration
    public void Increment(int words, int segments, int characters, int placeables, int tags)
    Parameters
    Type Name Description
    int words

    number of words

    int segments

    number of segments

    int characters

    number of characters

    int placeables

    number of placeables

    int tags

    number of tags

    In this article
    Back to top Generated by DocFX