55 references to TransactionFlowOption
dotnet-svcutil-lib (55)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransactionFlowBindingElement.cs (23)
20private TransactionFlowOption _issuedTokens; 41_issuedTokens = transactions ? TransactionFlowOption.Allowed : TransactionFlowOption.NotAllowed; 75_issuedTokens = value ? TransactionFlowOption.Allowed : TransactionFlowOption.NotAllowed; 79internal TransactionFlowOption IssuedTokens 97private bool IsFlowEnabled(Dictionary<DirectionalAction, TransactionFlowOption> dictionary) 99if (_issuedTokens != TransactionFlowOption.NotAllowed) 109foreach (TransactionFlowOption option in dictionary.Values) 111if (option != TransactionFlowOption.NotAllowed) 122if (_issuedTokens != TransactionFlowOption.NotAllowed) 137if (parameter.Transactions != TransactionFlowOption.NotAllowed) 168internal static void ValidateOption(TransactionFlowOption opt) 200private Dictionary<DirectionalAction, TransactionFlowOption> GetDictionary(BindingContext context) 202Dictionary<DirectionalAction, TransactionFlowOption> dictionary = 203context.BindingParameters.Find<Dictionary<DirectionalAction, TransactionFlowOption>>(); 205dictionary = new Dictionary<DirectionalAction, TransactionFlowOption>(); 246if (this.Transactions || (this.IssuedTokens != TransactionFlowOption.NotAllowed)) 261if (this.IssuedTokens != TransactionFlowOption.NotAllowed) 283private XmlElement GetAssertion(XmlDocument doc, TransactionFlowOption option, string prefix, string name, string ns, string policyNs) 291case TransactionFlowOption.NotAllowed: 295case TransactionFlowOption.Allowed: 315case TransactionFlowOption.Mandatory:
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransactionFlowBindingElementImporter.cs (11)
44TransactionFlowOption agreedTransactions = TransactionFlowOption.NotAllowed; 61TransactionFlowOption txFlow = GetOption(element, true); 77TransactionFlowOption txFlow = GetOption(element, true); 93TransactionFlowOption txFlow = GetOption(element, false); 127private void UpdateTransactionFlowAtribute(OperationDescription operation, TransactionFlowOption txFlow) 133private static void TrackAgreement(ref bool everyoneAgrees, TransactionFlowOption option, 134ref TransactionFlowOption agreedOption, ref bool anOperationCares) 167private TransactionFlowOption GetOption(XmlElement elem, bool useLegacyNs) 173return TransactionFlowOption.Allowed; 175return TransactionFlowOption.Mandatory;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportDefaults.cs (2)
22internal const TransactionFlowOption IssuedTokens = TransactionFlowOption.NotAllowed;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (2)
815if (attr != null && attr.Transactions != TransactionFlowOption.NotAllowed) 825attrDecl.Arguments.Add(new CodeAttributeArgument(ServiceContractGenerator.GetEnumReference<TransactionFlowOption>(attr.Transactions)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TransactionFlowAttribute.cs (10)
17private TransactionFlowOption _transactions; 19public TransactionFlowAttribute(TransactionFlowOption transactions) 26public TransactionFlowOption Transactions 35MessageDirection direction, TransactionFlowOption option) 37Dictionary<DirectionalAction, TransactionFlowOption> dictionary = EnsureDictionary(parameters); 50private static Dictionary<DirectionalAction, TransactionFlowOption> EnsureDictionary(BindingParameterCollection parameters) 52Dictionary<DirectionalAction, TransactionFlowOption> dictionary = 53parameters.Find<Dictionary<DirectionalAction, TransactionFlowOption>>(); 56dictionary = new Dictionary<DirectionalAction, TransactionFlowOption>(); 64Dictionary<DirectionalAction, TransactionFlowOption> dictionary = EnsureDictionary(parameters);
FrameworkFork\System.ServiceModel\System\ServiceModel\TransactionFlowOption.cs (7)
16public static bool IsDefined(TransactionFlowOption option) 18return (option == TransactionFlowOption.NotAllowed || 19option == TransactionFlowOption.Allowed || 20option == TransactionFlowOption.Mandatory); 23internal static bool AllowedOrRequired(TransactionFlowOption option) 25return (option == TransactionFlowOption.Allowed || 26option == TransactionFlowOption.Mandatory);