14 references to Contract
dotnet-svcutil-lib (14)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
132
_contractName = context.Contract.
Contract
.CodeName;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (13)
345
if (context.ContractType.Name != context.
Contract
.CodeName)
349
string friendlyName = NamingHelper.XmlName(context.
Contract
.CodeName) == context.
Contract
.Name ? context.
Contract
.CodeName : context.
Contract
.Name;
353
if (NamingHelper.DefaultNamespace != context.
Contract
.Namespace)
354
serviceContractAttr.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(context.
Contract
.Namespace)));
358
if (context.
Contract
.HasProtectionLevel)
362
new CodeTypeReferenceExpression(typeof(ProtectionLevel)), context.
Contract
.ProtectionLevel.ToString())));
370
if (context.
Contract
.SessionMode != SessionMode.Allowed)
374
new CodeTypeReferenceExpression(typeof(SessionMode)), context.
Contract
.SessionMode.ToString())));
529
CallContractExtensions(EnumerateBehaviorExtensions(context.
Contract
), context);
621
if (fault.Namespace != context.Contract.
Contract
.Namespace)