示例#1
0
 /// <summary>
 /// Prepares the member level additional resource resolver with all of the additional schemas
 /// </summary>
 private void PrepareResourceResolver()
 {
     if (m_additionalSchemas != null)
     {
         m_additionalResourceResolver = new ResourceResolver();
         foreach (object additionalSchemaObject in m_additionalSchemas)
         {
             AdditionalSchema additionalSchema = additionalSchemaObject as AdditionalSchema;
             if (additionalSchema != null)
             {
                 m_additionalResourceResolver.AddResource(additionalSchema.Identifier, additionalSchema.Xsd);
             }
         }
     }
 }
示例#2
0
		/// <summary>
		/// Prepares the member level additional resource resolver with all of the additional schemas
		/// </summary>
		private void PrepareResourceResolver()
		{
			if (m_additionalSchemas != null)
			{
				m_additionalResourceResolver = new ResourceResolver();
				foreach (object additionalSchemaObject in m_additionalSchemas)
				{
					AdditionalSchema additionalSchema = additionalSchemaObject as AdditionalSchema;
					if (additionalSchema != null)
					{
						m_additionalResourceResolver.AddResource(additionalSchema.Identifier, additionalSchema.Xsd);
					}
				}				
			}			
		}
示例#3
0
		/// <summary>
		/// Clears the currently configured parameters, resources, and extension objects.
		/// </summary>
		public void ClearAllAdditionalInput()
		{
			_xsltArgumentList = null;
			_additionalResourceResolver = null;
		}
示例#4
0
 /// <summary>
 /// Clears the currently configured parameters, resources, and extension objects.
 /// </summary>
 public void ClearAllAdditionalInput()
 {
     _xsltArgumentList           = null;
     _additionalResourceResolver = null;
 }