/// <summary> /// Initializes default request element definition and applies customizations (if any). /// </summary> public RequestValueDefinition GetRequestValueDefinition(OperationDefinition operationDefinition) { var requestValueDefinition = new RequestValueDefinition(operationDefinition); operationDefinition.ExtensionSchemaExporter?.ExportRequestValueDefinition(requestValueDefinition); schemaExporter.ExportRequestValueDefinition(requestValueDefinition); return(requestValueDefinition); }
/// <summary> /// Configuration hook for overriding default request element settings. /// </summary> public virtual void ExportRequestValueDefinition(RequestValueDefinition requestValueDefinition) { }
/// <summary> /// Configure request elements of X-Road message protocol version 2.0 messages. /// </summary> public override void ExportRequestValueDefinition(RequestValueDefinition requestValueDefinition) { base.ExportRequestValueDefinition(requestValueDefinition); requestValueDefinition.RequestElementName = "keha"; }