ParameterConfiguration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a parameter to a Operation
public abstract class ParameterConfiguration
type ParameterConfiguration = class
Public MustInherit Class ParameterConfiguration
- Inheritance
-
ParameterConfiguration
- Derived
Constructors
ParameterConfiguration(String, IEdmTypeConfiguration) |
Initializes a new instance of the ParameterConfiguration class. |
Properties
DefaultValue |
Gets or sets a default value for optional parameter. |
DerivedTypeConstraints |
Configuration that lists derived types that are allowed for the property. |
IsOptional |
Gets or sets a value indicating whether this parameter is optional or not. |
Name |
The name of the parameter |
Nullable |
Gets or sets a value indicating whether this parameter is nullable or not. |
TypeConfiguration |
The type of the parameter |
Methods
HasDefaultValue(String) |
Sets the optional value as true, default value as given value. |
HasDerivedTypeConstraint<TDerivedType>() |
Adds TDerivedType to the list of derived type constraints. |
HasDerivedTypeConstraints(Type[]) |
Adds subtypes to the list of derived type constraints. |
Optional() |
Sets the optional value as true. |
Required() |
Sets the optional value as false. |