public TryParseClassModifier ( string value ) : ClassModifier | ||
value | string | |
Résultat | ClassModifier |
/// <exception cref="BadSyntaxException"> /// An error occured while deserializing. /// </exception> /// <exception cref="InvalidOperationException"> /// The XML document is corrupt. /// </exception> /// <exception cref="ArgumentNullException"> /// <paramref name="node"/> is null. /// </exception> protected internal override void Deserialize(XmlElement node) { RaiseChangedEvent = false; XmlElement child = node["Modifier"]; if (child != null) { Modifier = Language.TryParseClassModifier(child.InnerText); } // Load the stereotype. XmlElement childStereotype = node["Stereotype"]; if (childStereotype != null) { if (string.IsNullOrEmpty(childStereotype.InnerText)) { Stereotype = null; } else { Stereotype = childStereotype.InnerText; } } base.Deserialize(node); RaiseChangedEvent = true; }
/// <exception cref="BadSyntaxException"> /// An error occured while deserializing. /// </exception> /// <exception cref="InvalidOperationException"> /// The XML document is corrupt. /// </exception> /// <exception cref="ArgumentNullException"> /// <paramref name="node"/> is null. /// </exception> protected internal override void Deserialize(XmlElement node) { RaiseChangedEvent = false; XmlElement child = node["Modifier"]; if (child != null) { Modifier = Language.TryParseClassModifier(child.InnerText); } base.Deserialize(node); RaiseChangedEvent = true; }