Beispiel #1
0
        static SegmentTimelineS LoadSegmentTimelineS(XElement element)
        {
            var ns     = element.GetDefaultNamespace().NamespaceName;
            var result = new SegmentTimelineS();

            result.T = element.Attribute("t").GetNullableULong();
            result.D = element.Attribute("d").GetULong();
            result.R = element.Attribute("r").GetNullableUInt().GetValueOrDefault(result.R);
            result.AnyAttr.AddRange(element.Attributes());

            return(result);
        }
        static SegmentTimelineS LoadSegmentTimelineS(XElement element)
        {
            var ns = element.GetDefaultNamespace().NamespaceName;
            var result = new SegmentTimelineS();

            result.T = element.Attribute("t").GetNullableULong();
            result.D = element.Attribute("d").GetULong();
            result.R = element.Attribute("r").GetNullableUInt().GetValueOrDefault(result.R);
            result.AnyAttr.AddRange(element.Attributes());

            return result;
        }