Search Results for

    Show / Hide Table of Contents

    Class SourceCount

    A word or character count value

    Inheritance
    System.Object
    SourceCount
    Implements
    System.ICloneable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Sdl.FileTypeSupport.Framework.NativeApi
    Assembly: Sdl.FileTypeSupport.Framework.Core.dll
    Syntax
    public class SourceCount : ICloneable

    Constructors

    SourceCount()

    Default constructor - creates an uninitialized object.

    Declaration
    public SourceCount()

    SourceCount(SourceCount)

    Protected copy constructor used during cloning

    Declaration
    protected SourceCount(SourceCount other)
    Parameters
    Type Name Description
    SourceCount other

    Properties

    Unit

    The type of items that the value represents

    Declaration
    public SourceCount.CountUnit Unit { get; set; }
    Property Value
    Type Description
    SourceCount.CountUnit

    Value

    The value that the count represents

    Declaration
    public long Value { get; set; }
    Property Value
    Type Description
    System.Int64

    Methods

    Clone()

    Returns a deep clone of the object

    Declaration
    public object Clone()
    Returns
    Type Description
    System.Object

    Equals(Object)

    Objects are considered equal if they have the same unit and value.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    The hash code is computed from the unit and value. Same unit and value yields same hash code.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    Implements

    System.ICloneable

    On this page

    • Constructors
      • SourceCount()
      • SourceCount(SourceCount)
    • Properties
      • Unit
      • Value
    • Methods
      • Clone()
      • Equals(Object)
      • GetHashCode()
    • Implements
    Back to top Generated by DocFX