11 instantiations of XsdDuration
dotnet-svcutil-lib (11)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (6)
626
return new
XsdDuration
(value, XsdDuration.DurationType.DayTimeDuration).ToTimeSpan(XsdDuration.DurationType.DayTimeDuration);
631
return new
XsdDuration
(value, XsdDuration.DurationType.Duration).ToTimeSpan(XsdDuration.DurationType.Duration);
748
return new
XsdDuration
(value, XsdDuration.DurationType.YearMonthDuration).ToTimeSpan(XsdDuration.DurationType.YearMonthDuration);
778
return new
XsdDuration
(value, XsdDuration.DurationType.DayTimeDuration).ToString(XsdDuration.DurationType.DayTimeDuration);
783
return new
XsdDuration
(value, XsdDuration.DurationType.Duration).ToString(XsdDuration.DurationType.Duration);
872
return new
XsdDuration
(value, XsdDuration.DurationType.YearMonthDuration).ToString(XsdDuration.DurationType.YearMonthDuration);
FrameworkFork\Microsoft.Xml\Xml\schema\XsdDuration.cs (3)
111
this = new
XsdDuration
(isNegative, years, months, 0, 0, 0, 0, 0);
291
return new
XsdDuration
(IsNegative, years, months, days, hours, minutes, seconds, Nanoseconds);
506
result = new
XsdDuration
();
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (2)
822
return new
XsdDuration
(value).ToString();
1286
duration = new
XsdDuration
(s);
29 references to XsdDuration
dotnet-svcutil-lib (29)
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (8)
1960
XsdDuration
duration;
1961
exception =
XsdDuration
.TryParse(s,
XsdDuration
.DurationType.YearMonthDuration, out duration);
1966
exception = duration.TryToTimeSpan(
XsdDuration
.DurationType.YearMonthDuration, out timeSpanValue);
1999
XsdDuration
duration;
2000
exception =
XsdDuration
.TryParse(s,
XsdDuration
.DurationType.DayTimeDuration, out duration);
2004
exception = duration.TryToTimeSpan(
XsdDuration
.DurationType.DayTimeDuration, out timeSpanValue);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (12)
626
return new XsdDuration(value,
XsdDuration
.DurationType.DayTimeDuration).ToTimeSpan(
XsdDuration
.DurationType.DayTimeDuration);
631
return new XsdDuration(value,
XsdDuration
.DurationType.Duration).ToTimeSpan(
XsdDuration
.DurationType.Duration);
748
return new XsdDuration(value,
XsdDuration
.DurationType.YearMonthDuration).ToTimeSpan(
XsdDuration
.DurationType.YearMonthDuration);
778
return new XsdDuration(value,
XsdDuration
.DurationType.DayTimeDuration).ToString(
XsdDuration
.DurationType.DayTimeDuration);
783
return new XsdDuration(value,
XsdDuration
.DurationType.Duration).ToString(
XsdDuration
.DurationType.Duration);
872
return new XsdDuration(value,
XsdDuration
.DurationType.YearMonthDuration).ToString(
XsdDuration
.DurationType.YearMonthDuration);
FrameworkFork\Microsoft.Xml\Xml\schema\XsdDuration.cs (6)
145
XsdDuration
result;
248
public
XsdDuration
Normalize()
494
internal static Exception TryParse(string s, out
XsdDuration
result)
499
internal static Exception TryParse(string s, DurationType durationType, out
XsdDuration
result)
670
if ((parts & ~(
XsdDuration
.Parts.HasYears |
XsdDuration
.Parts.HasMonths)) != 0)
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (3)
1281
XsdDuration
duration;
1301
XsdDuration
duration;
1304
exception =
XsdDuration
.TryParse(s, out duration);