コード例 #1
0
 /// <summary>
 /// Create a new instance of the type specified by the <see cref="TypeAssemblyQualifiedName"/>
 /// property, using values from the <see cref="AdditionalAttributes"/> and
 /// <see cref="AdditionalElements"/> properties, along with any properties specified by
 /// an inheritor of the <see cref="XmlDeserializationProxy{TTarget}"/> class.
 /// </summary>
 /// <param name="resolver">
 /// An optional <see cref="IResolver"/> that can supply any missing values required by a
 /// constructor of the type specified by the <see cref="TypeAssemblyQualifiedName"/>
 /// property.
 /// </param>
 /// <returns>
 /// A new instance of the type specified by the <see cref="TypeAssemblyQualifiedName"/> property.
 /// </returns>
 public virtual TTarget CreateInstance(IResolver resolver)
 {
     return(_engine.CreateInstance(resolver));
 }