Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Base / System / Windows / Markup / XmlnsCompatibleWithAttribute.cs / 1 / XmlnsCompatibleWithAttribute.cs
//------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation, 2005 // // File: XmlnsCompatibleWithAttribute.cs // // Contents: Namespace compatiblity support // Created: 01/19/2005 [....] // //----------------------------------------------------------------------- using System; using System.ComponentModel; namespace System.Windows.Markup { ////// /// This attribute allows an assembly to declare that previously published /// XmlnsDefinitions are subsumed by a new version. /// /// Such as /// /// "http://schemas.example.com/2003/mynamespace" /// /// is changed to /// /// "http://schemas.example.com/2005/mynamespace" /// /// [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public sealed class XmlnsCompatibleWithAttribute: Attribute { ////// Constructor /// /// old Xml namespce /// new xml namespace public XmlnsCompatibleWithAttribute(string oldNamespace, string newNamespace) { // Validate Input Arguments if (oldNamespace == null) { throw new ArgumentNullException("oldNamespace"); } if (newNamespace == null) { throw new ArgumentNullException("newNamespace"); } _oldNamespace = oldNamespace; _newNamespace = newNamespace; } #region public properties ////// Old Xml Namespace /// public string OldNamespace { get { return _oldNamespace; } } ////// New Xml Namespace /// public string NewNamespace { get { return _newNamespace; } } #endregion public properties #region Private Fields private string _oldNamespace; private string _newNamespace; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlKeywords.cs
- ReadOnlyHierarchicalDataSourceView.cs
- PackageDigitalSignatureManager.cs
- CodeTypeDeclarationCollection.cs
- _RequestCacheProtocol.cs
- IPHostEntry.cs
- InputManager.cs
- HwndKeyboardInputProvider.cs
- WorkflowServiceOperationListItem.cs
- OrderedEnumerableRowCollection.cs
- RecognizerStateChangedEventArgs.cs
- ToolStripContentPanel.cs
- X509RecipientCertificateClientElement.cs
- ImageSourceTypeConverter.cs
- FamilyCollection.cs
- StorageAssociationSetMapping.cs
- IpcManager.cs
- CodeSnippetExpression.cs
- QilFunction.cs
- XsdValidatingReader.cs
- ClientUtils.cs
- WCFServiceClientProxyGenerator.cs
- BevelBitmapEffect.cs
- FileAccessException.cs
- TextServicesCompartmentEventSink.cs
- Helpers.cs
- MultilineStringConverter.cs
- Model3DCollection.cs
- RadioButtonPopupAdapter.cs
- DifferencingCollection.cs
- sqlmetadatafactory.cs
- XmlAttribute.cs
- RepeaterCommandEventArgs.cs
- ConsoleCancelEventArgs.cs
- httpapplicationstate.cs
- XmlILModule.cs
- Configuration.cs
- ListViewCommandEventArgs.cs
- Semaphore.cs
- ClipboardData.cs
- ColorConvertedBitmapExtension.cs
- XmlTextReader.cs
- DataMemberAttribute.cs
- InkCanvasSelectionAdorner.cs
- OperatingSystem.cs
- COSERVERINFO.cs
- NotFiniteNumberException.cs
- HttpApplication.cs
- PriorityRange.cs
- TCPClient.cs
- SizeValueSerializer.cs
- XDRSchema.cs
- ApplicationSecurityManager.cs
- CompiledRegexRunnerFactory.cs
- RedistVersionInfo.cs
- WebPartConnectionsConnectVerb.cs
- WriteLineDesigner.xaml.cs
- PeerPresenceInfo.cs
- ToolStripDropDownButton.cs
- XmlSerializer.cs
- FocusWithinProperty.cs
- HtmlTableRow.cs
- BooleanAnimationUsingKeyFrames.cs
- TileBrush.cs
- TreeViewAutomationPeer.cs
- CallbackHandler.cs
- CommonProperties.cs
- PathFigureCollection.cs
- SymLanguageVendor.cs
- printdlgexmarshaler.cs
- AutomationElementIdentifiers.cs
- FontFamilyValueSerializer.cs
- Axis.cs
- DataRelationPropertyDescriptor.cs
- UIntPtr.cs
- XPathSelectionIterator.cs
- SchemaAttDef.cs
- HtmlInputReset.cs
- CollectionsUtil.cs
- InfoCardHelper.cs
- TextSelectionProcessor.cs
- OdbcConnectionFactory.cs
- SynchronousChannelMergeEnumerator.cs
- DBSqlParserColumn.cs
- SimpleHandlerBuildProvider.cs
- ToolStripContentPanel.cs
- RsaSecurityKey.cs
- RequiredAttributeAttribute.cs
- ScriptManagerProxy.cs
- OrderByBuilder.cs
- UInt64.cs
- WindowsScrollBarBits.cs
- BaseWebProxyFinder.cs
- Partitioner.cs
- SplayTreeNode.cs
- DebugView.cs
- LostFocusEventManager.cs
- Int16Animation.cs
- MimeFormatExtensions.cs
- SQLDouble.cs