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