Scripts/Accounting/Account.cs
/// <summary>
/// Deserializes a list of AccountTag instances from an xml element.
/// </summary>
/// <param name="node">The XmlElement from which to deserialize.</param>
/// <returns>Tag list. Value will never be null.</returns>
Deserializes a list of AccountTag instances from an xml element.
Deserializes a list of AccountTag instances from an xml element .
public static List<AccountTag> LoadTags( XmlElement node )
		{
			List<AccountTag> list = null;
			XmlElement tags = node["tags"];
			if ( tags != null )
			{
				list = new List<AccountTag>();
				foreach ( XmlElement tag in tags.GetElementsByTagName( "tag" ) )
				{
					try { list.Add( new AccountTag( tag ) ); }
					catch { }
				}
			}
			return list;
		}
public static List < AccountTag > LoadTags ( XmlElement node ) { List < AccountTag > list = null ; XmlElement tags = node [ " " ] ; if ( tags != null ) { list = new List < AccountTag > ( ) ; foreach ( XmlElement tag in tags . GetElementsByTagName ( " " ) ) { try { list . Add ( new AccountTag ( tag ) ) ; } catch { } } } return list ; }
Deserializes a list of AccountTag instances from an xml element.
Deserializes a list of AccountTag instances from an xml element .
Tag list. Value will never be null.
Tag list . Value will never be null .
node
XmlElement
The XmlElement from which to deserialize.
The XmlElement from which to deserialize .