Ejemplo n.º 1
0
		public XamlReaderSettings (XamlReaderSettings settings)
		{
			// null settings is allowed (!)
			var s = settings;
			if (s == null)
				return;

			AllowProtectedMembersOnRoot = s.AllowProtectedMembersOnRoot;
			BaseUri = s.BaseUri;
			IgnoreUidsOnPropertyElements = s.IgnoreUidsOnPropertyElements;
			LocalAssembly = s.LocalAssembly;
			ProvideLineInfo = s.ProvideLineInfo;
			ValuesMustBeString = s.ValuesMustBeString;
		}
Ejemplo n.º 2
0
        public XamlReaderSettings(XamlReaderSettings settings)
        {
            // null settings is allowed (!)
            var s = settings;

            if (s == null)
            {
                return;
            }

            AllowProtectedMembersOnRoot = s.AllowProtectedMembersOnRoot;
            BaseUri = s.BaseUri;
            IgnoreUidsOnPropertyElements = s.IgnoreUidsOnPropertyElements;
            LocalAssembly      = s.LocalAssembly;
            ProvideLineInfo    = s.ProvideLineInfo;
            ValuesMustBeString = s.ValuesMustBeString;
        }