Builder is used to build DOFInterfaces.
Inheritance Hierarchy
org.opendof.core.oalDOFInterfaceBuilder
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public sealed class Builder
The DOFInterfaceBuilder type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | DOFInterfaceBuilder(DOFInterfaceID) | Construct a Builder with an interface ID. |
![]() | DOFInterfaceBuilder(DOFInterfaceID, Byte) | Construct a builder from its serialized byte array form. |
![]() | DOFInterfaceBuilder(DOFMarshalContext, Object, DOFPacket) | Create a Builder from serial form. |
Methods
Name | Description | |
---|---|---|
![]() | addEvent | Add an Event to the Interface. |
![]() | addException | Add an Exception to the Interface. |
![]() | addMethod | Add a Method to the Interface. |
![]() | addProperty | Add a Property to the Interface. |
![]() | build |
Construct a new DOFInterface based on the builder's current set of properties, methods,
events and exceptions.
|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
DOFInterface iface = new Builder( iid ) .addProperty(...) .addProperty(...) .addMethod(...) .addEvent(...) .addException(...) .build();
See Also