Ejemplo n.º 1
0
		/// <summary>
		/// Instantiates a new property that can represent an xml element with 
		/// an PersonWithRole as its value.
		/// </summary>
		/// <param name="namespace_tag">property obtained from Tags[CommonPropertyNames.value]</param>
		/// <param name="person">the person's information</param>
		public PropertyPersonWithRole (string namespace_tag, PersonWithRole person)
		{
			this.ns_tag = (string) CdsMetadataCaches.Didl.CacheThis(namespace_tag);
			this.m_value = person.Name;
			this.m_role = person.Role;
		}
 /// <summary>
 /// Instantiates a new property that can represent an xml element with
 /// an PersonWithRole as its value.
 /// </summary>
 /// <param name="namespace_tag">property obtained from Tags[CommonPropertyNames.value]</param>
 /// <param name="person">the person's information</param>
 public PropertyPersonWithRole(string namespace_tag, PersonWithRole person)
 {
     this.ns_tag  = (string)CdsMetadataCaches.Didl.CacheThis(namespace_tag);
     this.m_value = person.Name;
     this.m_role  = person.Role;
 }