TransactionalNodeService.Proxy.Universal.Soap.TransactionFramework.SoapTransactionLinkParameter.SetParameterValue C# (CSharp) Méthode

SetParameterValue() public méthode

public SetParameterValue ( System.Guid parameterValue ) : void
parameterValue System.Guid
Résultat void
        public void SetParameterValue(Guid parameterValue)
        {
            ExplicitParameterValue = parameterValue;
            _parameterValueType = ParameterType.Explicit;
        }

Same methods

SoapTransactionLinkParameter::SetParameterValue ( ISoapTransactionLink transactionLink ) : void

Usage Example

        public void AddNode(ConnectionType connectionType, INode node)
        {
            ProxyNodeConnections[connectionType] = node;

            Service.DT descriptorType = MapManager.ConnectionTypes.ConvertProxyToService(connectionType);

            SoapTransactionLinkParameter linkParameter = new SoapTransactionLinkParameter(Service.MapParameterType.Node);

            FacadeNode facadeNode = node as FacadeNode;

            // Check if this is a facade and if it is and the base node isn't concrete, then use the base node's response parameter.
            if (facadeNode != null && !facadeNode.IsConcrete)
            {
                linkParameter.SetParameterValue(facadeNode.TransactionOrigin);
            }
            else
            {
                linkParameter.SetParameterValue(node.Id);
            }

            TransactionLinkConnections[descriptorType] = linkParameter;
        }
All Usage Examples Of TransactionalNodeService.Proxy.Universal.Soap.TransactionFramework.SoapTransactionLinkParameter::SetParameterValue