Show / Hide Table of Contents

Interface IPropertyContainer

Represents a property container.

Inherited Members
IEnumerable<Property>.GetEnumerator()
Namespace: DNVGL.One.Compute.Core.FlowModel
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public interface IPropertyContainer : IEnumerable<Property>, IEnumerable

Properties

View Source

this[string]

Gets or sets the specified property.

Declaration
string this[string propertyName] { get; set; }
Parameters
Type Name Description
string propertyName

The property.

Property Value
Type Description
string

The property value.

See Also
IEnumerable<T>

Methods

View Source

Add(string, string)

Adds a property with name and value.

Declaration
void Add(string propertyName, string propertyValue)
Parameters
Type Name Description
string propertyName

Name of the property.

string propertyValue

The property value.

See Also
IEnumerable<T>
View Source

TryGetValue(string, out string)

Gets the value of the specified property.

Declaration
bool TryGetValue(string propertyName, out string propertyValue)
Parameters
Type Name Description
string propertyName

The name of the property.

string propertyValue

The value of the property, or null if the property does not exist.

Returns
Type Description
bool

True if the property exists in this collection; false otherwise.

See Also
IEnumerable<T>

Extension Methods

EnumerableExtensions.ForEachAsync<T>(IEnumerable<T>, Func<T, Task>, int)

See Also

IEnumerable<T>
  • View Source
In this article
Back to top Copyright © DNV AS. All rights reserved.