6 instantiations of FaultReasonText
System.ServiceModel.Primitives (6)
System\ServiceModel\Channels\MessageFault.cs (2)
796
return new
FaultReasonText
(text, xmlLang);
812
FaultReasonText translation = new
FaultReasonText
(text, xmlLang);
System\ServiceModel\FaultException.cs (1)
332
reasons[i] = new
FaultReasonText
(nodes[i].text, nodes[i].xmlLang);
System\ServiceModel\FaultReason.cs (3)
27
Init(new
FaultReasonText
(text));
33
Init(new
FaultReasonText
(text, xmlLang));
39
Init(new
FaultReasonText
(text, cultureInfo));
27 references to FaultReasonText
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (1)
662
FaultReasonText
reason = fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture);
System.ServiceModel.Primitives (25)
System\ServiceModel\Channels\MessageFault.cs (6)
337
FaultReasonText
text = reason.Translations[i];
453
FaultReasonText
translation = Reason.Translations[0];
727
List<
FaultReasonText
> translations = new List<
FaultReasonText
>();
792
private static
FaultReasonText
ReadTranslation12(XmlDictionaryReader reader)
812
FaultReasonText
translation = new FaultReasonText(text, xmlLang);
System\ServiceModel\FaultException.cs (3)
328
FaultReasonText
[] reasons = new
FaultReasonText
[nodes.Length];
340
SynchronizedReadOnlyCollection<
FaultReasonText
> translations = reason.Translations;
System\ServiceModel\FaultReason.cs (14)
14
public FaultReason(
FaultReasonText
translation)
42
public FaultReason(IEnumerable<
FaultReasonText
> translations)
50
foreach (
FaultReasonText
faultReasonText in translations)
60
FaultReasonText
[] array = new
FaultReasonText
[count];
62
foreach (
FaultReasonText
faultReasonText in translations)
69
private void Init(
FaultReasonText
translation)
71
Init(new
FaultReasonText
[] { translation });
74
private void Init(
FaultReasonText
[] translations)
76
Translations = new SynchronizedReadOnlyCollection<
FaultReasonText
>(new object(), new ReadOnlyCollection<
FaultReasonText
>(translations));
79
public
FaultReasonText
GetMatchingTranslation()
84
public
FaultReasonText
GetMatchingTranslation(CultureInfo cultureInfo)
141
public SynchronizedReadOnlyCollection<
FaultReasonText
> Translations { get; private set; }
System\ServiceModel\ProtocolException.cs (2)
28
FaultReasonText
reason = fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture);
52
FaultReasonText
reason = fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture);
System.ServiceModel.Primitives.Tests (1)
ServiceModel\FaultExceptionTest.cs (1)
83
var
faultReasonText = reasonTranslations[0];