6 instantiations of FaultReasonText
dotnet-svcutil-lib (6)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageFault.cs (2)
700
return new
FaultReasonText
(text, xmlLang);
716
FaultReasonText translation = new
FaultReasonText
(text, xmlLang);
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultException.cs (1)
303
reasons[i] = new
FaultReasonText
(nodes[i]._text, nodes[i]._xmlLang);
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultReason.cs (3)
26
Init(new
FaultReasonText
(text));
32
Init(new
FaultReasonText
(text, xmlLang));
38
Init(new
FaultReasonText
(text, cultureInfo));
26 references to FaultReasonText
dotnet-svcutil-lib (26)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageFault.cs (6)
304
FaultReasonText
text = reason.Translations[i];
382
FaultReasonText
translation = Reason.Translations[0];
640
List<
FaultReasonText
> translations = new List<
FaultReasonText
>();
696
private static
FaultReasonText
ReadTranslation12(XmlDictionaryReader reader)
716
FaultReasonText
translation = new FaultReasonText(text, xmlLang);
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultException.cs (3)
299
FaultReasonText
[] reasons = new
FaultReasonText
[nodes.Length];
311
SynchronizedReadOnlyCollection<
FaultReasonText
> translations = reason.Translations;
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultReason.cs (15)
13
private SynchronizedReadOnlyCollection<
FaultReasonText
> _translations;
15
public FaultReason(
FaultReasonText
translation)
41
public FaultReason(IEnumerable<
FaultReasonText
> translations)
46
foreach (
FaultReasonText
faultReasonText in translations)
50
FaultReasonText
[] array = new
FaultReasonText
[count];
52
foreach (
FaultReasonText
faultReasonText in translations)
62
private void Init(
FaultReasonText
translation)
64
Init(new
FaultReasonText
[] { translation });
67
private void Init(
FaultReasonText
[] translations)
69
_translations = new SynchronizedReadOnlyCollection<
FaultReasonText
>(new object(), new ReadOnlyCollection<
FaultReasonText
>(translations));
72
public
FaultReasonText
GetMatchingTranslation()
77
public
FaultReasonText
GetMatchingTranslation(CultureInfo cultureInfo)
119
public SynchronizedReadOnlyCollection<
FaultReasonText
> Translations
FrameworkFork\System.ServiceModel\System\ServiceModel\ProtocolException.cs (2)
23
FaultReasonText
reason = fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture);
47
FaultReasonText
reason = fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture);