Inheritance: XamlWriterInternalBase
コード例 #1
0
ファイル: XamlObjectWriter.cs プロジェクト: hindlemail/mono
		public XamlObjectWriter (XamlSchemaContext schemaContext, XamlObjectWriterSettings settings)
		{
			if (schemaContext == null)
				throw new ArgumentNullException ("schemaContext");
			this.sctx = schemaContext;
			this.settings = settings ?? new XamlObjectWriterSettings ();
			var manager = new XamlWriterStateManager<XamlObjectWriterException, XamlObjectWriterException> (false);
			intl = new XamlObjectWriterInternal (this, sctx, manager);
		}
コード例 #2
0
        public XamlObjectWriter(XamlSchemaContext schemaContext, XamlObjectWriterSettings settings, IAmbientProvider parentAmbientProvider)
        {
            if (schemaContext == null)
            {
                throw new ArgumentNullException("schemaContext");
            }
            this.sctx     = schemaContext;
            this.settings = settings ?? new XamlObjectWriterSettings();
            var manager = new XamlWriterStateManager <XamlObjectWriterException, XamlObjectWriterException>(false);

            intl = new XamlObjectWriterInternal(this, sctx, manager, parentAmbientProvider);
        }