Interface IPropertyContainer
Represents a property container.
Inherited Members
Namespace: DNVGL.One.Compute.Core.FlowModel
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public interface IPropertyContainer : IEnumerable<Property>, IEnumerable
Properties
View Sourcethis[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 SourceAdd(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>
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
See Also
IEnumerable<T>