Class EntityViewParameters
- Namespace
- GroupeIsa.Neos.Application.EntityViewParameter
- Assembly
- GroupeIsa.Neos.Application.Abstractions.dll
Represents a collection of entity view parameters.
public class EntityViewParameters : IReadOnlyEntityViewParameters
- Inheritance
-
EntityViewParameters
- Implements
- Derived
- Inherited Members
Constructors
EntityViewParameters(IReadOnlyDictionary<string, object?>)
Initializes a new instance of the EntityViewParameters class.
public EntityViewParameters(IReadOnlyDictionary<string, object?> parameters)
Parameters
parameters
IReadOnlyDictionary<string, object>Parameters.
Properties
Parameters
Gets the internal dictionary.
protected IReadOnlyDictionary<string, object?> Parameters { get; }
Property Value
Methods
TryGetParameterValue(string, out object?)
Tries to get a parameter value.
public bool TryGetParameterValue(string parameterName, out object? value)
Parameters
parameterName
stringThe parameter name.
value
objectThe value if a value exists for the parameter.
Returns
- bool
True if the value was found, false otherwise.
TryGetParameterValue<TValue>(string, out TValue?)
Tries to get a parameter value.
public bool TryGetParameterValue<TValue>(string parameterName, out TValue? value)
Parameters
parameterName
stringThe parameter name.
value
TValueThe value if a value exists for the parameter.
Returns
- bool
True if the value was found, false otherwise.
Type Parameters
TValue
Value type.