コード例 #1
0
        /// <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);
        }
コード例 #2
0
 /// <summary>
 /// Configuration hook for overriding default request element settings.
 /// </summary>
 public virtual void ExportRequestValueDefinition(RequestValueDefinition requestValueDefinition)
 {
 }
コード例 #3
0
        /// <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";
        }