Show / Hide Table of Contents

Class OtherSourceInfo

Implementation of IDocumentSourceInfo for a document which was retrieved from a location that may be identified, but is not a file on disk.

Inheritance
System.Object
OtherSourceInfo
Implements
IDocumentSourceInfo
System.IEquatable<IDocumentSourceInfo>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: ZptSharp.Rendering
Assembly: ZptSharp.Abstractions.dll
Syntax
public sealed class OtherSourceInfo : IDocumentSourceInfo, IEquatable<IDocumentSourceInfo>

Constructors

| Improve this Doc View Source

OtherSourceInfo(String)

Initializes a new instance of the OtherSourceInfo class.

Declaration
public OtherSourceInfo(string sourceLocation)
Parameters
Type Name Description
System.String sourceLocation

A string identifying the source location.

Properties

| Improve this Doc View Source

Name

Gets the name of the source.

Declaration
public string Name { get; }
Property Value
Type Description
System.String

The name of the document source.

| Improve this Doc View Source

SourceLocation

Gets the identifier for the source location.

Declaration
public string SourceLocation { get; }
Property Value
Type Description
System.String

The source location.

Methods

| Improve this Doc View Source

Equals(Object)

Determines whether the specified System.Object is equal to the current OtherSourceInfo.

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

The System.Object to compare with the current OtherSourceInfo.

Returns
Type Description
System.Boolean

true if the specified System.Object is equal to the current OtherSourceInfo; otherwise, false.

Overrides
System.Object.Equals(System.Object)
| Improve this Doc View Source

Equals(IDocumentSourceInfo)

Determines whether the specified IDocumentSourceInfo is equal to the current OtherSourceInfo.

Declaration
public bool Equals(IDocumentSourceInfo other)
Parameters
Type Name Description
IDocumentSourceInfo other

The IDocumentSourceInfo to compare with the current OtherSourceInfo.

Returns
Type Description
System.Boolean

true if the specified IDocumentSourceInfo is equal to the current OtherSourceInfo; otherwise, false.

| Improve this Doc View Source

GetHashCode()

Serves as a hash function for a OtherSourceInfo object.

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

A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a hash table.

Overrides
System.Object.GetHashCode()
| Improve this Doc View Source

ToString()

Returns a System.String that represents the current OtherSourceInfo.

Declaration
public override string ToString()
Returns
Type Description
System.String

A System.String that represents the current OtherSourceInfo.

Overrides
System.Object.ToString()

Implements

IDocumentSourceInfo
System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX