Show / Hide Table of Contents

Class ReportContentNode

This class describes a content node for a report.

Inheritance
System.Object
ReportContentNode
ReportContent
Implements
System.Collections.Generic.IEnumerable<ReportContentNode>
System.Collections.IEnumerable
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.ReportGenerator
Assembly: Sartorius.SAF.ReportGenerator.dll
Syntax
public class ReportContentNode : IEnumerable<ReportContentNode>, IEnumerable

Constructors

View Source

ReportContentNode()

Initializes a new instance of the ReportContentNode class.

Declaration
protected ReportContentNode()
View Source

ReportContentNode(IEnumerable<ReportContentNode>)

Initializes a new instance of the ReportContentNode class with the specified child content node. The value is empty.

Declaration
protected ReportContentNode(IEnumerable<ReportContentNode> nodes)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ReportContentNode> nodes

The child nodes.

View Source

ReportContentNode(String)

Initializes a new instance of the ReportContentNode class.

Declaration
public ReportContentNode(string key)
Parameters
Type Name Description
System.String key
View Source

ReportContentNode(String, ReportContentNode[])

Initializes a new instance of the ReportContentNode class with the specified child content nodes. The value is empty.

Declaration
public ReportContentNode(string key, params ReportContentNode[] nodes)
Parameters
Type Name Description
System.String key

The key.

ReportContentNode[] nodes

An array containing zero or more ReportContentNodes.

View Source

ReportContentNode(String, IEnumerable<ReportContentNode>)

Initializes a new instance of the ReportContentNode class with the specified child content node. The value is empty.

Declaration
public ReportContentNode(string key, IEnumerable<ReportContentNode> nodes)
Parameters
Type Name Description
System.String key

The key.

System.Collections.Generic.IEnumerable<ReportContentNode> nodes

The child nodes.

View Source

ReportContentNode(String, IReadOnlyDictionary<String, String>)

Initializes a new instance of the ReportContentNode class with the specified data as child content nodes. The value is empty.

Declaration
public ReportContentNode(string key, IReadOnlyDictionary<string, string> data)
Parameters
Type Name Description
System.String key

The key.

System.Collections.Generic.IReadOnlyDictionary<System.String, System.String> data

Key–value pairs for the child content nodes.

View Source

ReportContentNode(String, String)

Initializes a new instance of the ReportContentNode class with the specified value. The child nodes are empty.

Declaration
public ReportContentNode(string key, string value)
Parameters
Type Name Description
System.String key

The key.

System.String value

The value.

Methods

View Source

Add(ReportContentNode)

Adds a new child node.

Declaration
public void Add(ReportContentNode childNode)
Parameters
Type Name Description
ReportContentNode childNode

The child node to add

View Source

Add(String, ReportContentNode[])

Adds a new named child content tree.

Declaration
public void Add(string childKey, params ReportContentNode[] childNodes)
Parameters
Type Name Description
System.String childKey

The key for the child items.

ReportContentNode[] childNodes

The child items for the specified childKey.

View Source

Add(String, String)

Adds a new key value pair.

Declaration
public void Add(string childKey, string childValue)
Parameters
Type Name Description
System.String childKey

The key.

System.String childValue

The value of the specified childKey.

Explicit Interface Implementations

View Source

IEnumerable<ReportContentNode>.GetEnumerator()

Declaration
IEnumerator<ReportContentNode> IEnumerable<ReportContentNode>.GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<ReportContentNode>
View Source

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

Implements

System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX