Search Results for

    Show / Hide Table of Contents

    Class CountData

    Represents various summary statistics about a piece of content.

    Inheritance
    System.Object
    CountData
    FuzzyCountData
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.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
    System.Int32

    Placeables

    Gets the number of placeables.

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

    Segments

    Gets the number of segments

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

    Tags

    Gets the number of tags.

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

    Words

    Gets the number of words.

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

    Methods

    Create(Int32, Int32, Int32, Int32, Int32)

    Create CountData object with data

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

    number of words

    System.Int32 segments

    number of segments

    System.Int32 characters

    number of characters

    System.Int32 placeables

    number of placeables

    System.Int32 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(Int32, Int32, Int32, Int32, Int32)

    Increments the corresponding count data

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

    number of words

    System.Int32 segments

    number of segments

    System.Int32 characters

    number of characters

    System.Int32 placeables

    number of placeables

    System.Int32 tags

    number of tags

    On this page

    • Constructors
      • CountData()
    • Properties
      • Characters
      • Placeables
      • Segments
      • Tags
      • Words
    • Methods
      • Create(Int32, Int32, Int32, Int32, Int32)
      • Increment(CountData)
      • Increment(Int32, Int32, Int32, Int32, Int32)
    Back to top Generated by DocFX