Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Markup / Localizer / BamlLocalizerErrorNotifyEventArgs.cs / 1305600 / BamlLocalizerErrorNotifyEventArgs.cs
//------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation, 2001 // // File: BamlLocalizerErrorNotifyEventArgs.cs // // Created: 2/27/2006 Garyyang //----------------------------------------------------------------------- using System; namespace System.Windows.Markup.Localizer { ////// The EventArgs for the BamlLocalizer.ErrorNotify event. /// public class BamlLocalizerErrorNotifyEventArgs : EventArgs { BamlLocalizableResourceKey _key; // The key of the localizable resources related to the error BamlLocalizerError _error; // The error code. internal BamlLocalizerErrorNotifyEventArgs(BamlLocalizableResourceKey key, BamlLocalizerError error) { _key = key; // _error = error; } ////// The key of the BamlLocalizableResource related to the error /// public BamlLocalizableResourceKey Key { get { return _key; } } ////// The error encountered by BamlLocalizer /// public BamlLocalizerError Error { get { return _error; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation, 2001 // // File: BamlLocalizerErrorNotifyEventArgs.cs // // Created: 2/27/2006 Garyyang //----------------------------------------------------------------------- using System; namespace System.Windows.Markup.Localizer { ////// The EventArgs for the BamlLocalizer.ErrorNotify event. /// public class BamlLocalizerErrorNotifyEventArgs : EventArgs { BamlLocalizableResourceKey _key; // The key of the localizable resources related to the error BamlLocalizerError _error; // The error code. internal BamlLocalizerErrorNotifyEventArgs(BamlLocalizableResourceKey key, BamlLocalizerError error) { _key = key; // _error = error; } ////// The key of the BamlLocalizableResource related to the error /// public BamlLocalizableResourceKey Key { get { return _key; } } ////// The error encountered by BamlLocalizer /// public BamlLocalizerError Error { get { return _error; } } } } // 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
- WindowsListViewScroll.cs
- ServiceHttpHandlerFactory.cs
- PropertyTabChangedEvent.cs
- PropertyMapper.cs
- SharedPersonalizationStateInfo.cs
- OdbcHandle.cs
- WebRequestModulesSection.cs
- Pkcs7Signer.cs
- XhtmlBasicLiteralTextAdapter.cs
- HttpProfileGroupBase.cs
- dtdvalidator.cs
- Site.cs
- HandleExceptionArgs.cs
- DbBuffer.cs
- DataTableReader.cs
- TrackBarRenderer.cs
- FamilyMap.cs
- DesignerOptionService.cs
- FigureParaClient.cs
- MouseGestureValueSerializer.cs
- IList.cs
- Resources.Designer.cs
- StaticSiteMapProvider.cs
- SafeHandles.cs
- TreeView.cs
- TerminatorSinks.cs
- ActivityInstanceMap.cs
- Profiler.cs
- SynchronizingStream.cs
- DeclarativeCatalogPart.cs
- StickyNoteContentControl.cs
- TextServicesPropertyRanges.cs
- SplashScreenNativeMethods.cs
- IODescriptionAttribute.cs
- TrackingSection.cs
- UserNameSecurityToken.cs
- SqlDataSource.cs
- CultureInfo.cs
- DataRecordInternal.cs
- CallInfo.cs
- CodeParameterDeclarationExpressionCollection.cs
- UIElement3DAutomationPeer.cs
- HostingEnvironmentSection.cs
- CodeArgumentReferenceExpression.cs
- ReaderContextStackData.cs
- ClientBuildManagerCallback.cs
- NCryptNative.cs
- RequestResponse.cs
- WebPartEventArgs.cs
- CodeDomSerializerBase.cs
- RootAction.cs
- SafeHandle.cs
- RangeValueProviderWrapper.cs
- RequestCachingSection.cs
- Monitor.cs
- Brush.cs
- OracleInfoMessageEventArgs.cs
- HtmlEncodedRawTextWriter.cs
- LoginUtil.cs
- BaseParaClient.cs
- XamlRtfConverter.cs
- XmlIlVisitor.cs
- NavigatorInput.cs
- OleDbFactory.cs
- BatchParser.cs
- RegistrySecurity.cs
- LinkLabel.cs
- Select.cs
- RelativeSource.cs
- PtsHelper.cs
- SelectionList.cs
- Command.cs
- QueryStringParameter.cs
- Compress.cs
- ParagraphVisual.cs
- BaseTreeIterator.cs
- TextBoxAutomationPeer.cs
- PartitionedStream.cs
- InternalPolicyElement.cs
- SetterBase.cs
- OletxEnlistment.cs
- BitmapSourceSafeMILHandle.cs
- WebScriptClientGenerator.cs
- HttpInputStream.cs
- CodeGeneratorOptions.cs
- SHA1Managed.cs
- TemplatePagerField.cs
- CornerRadius.cs
- X509PeerCertificateAuthentication.cs
- ConstNode.cs
- HttpRuntimeSection.cs
- DebuggerAttributes.cs
- TextRangeEditLists.cs
- OrderedDictionary.cs
- CompModSwitches.cs
- InstanceDataCollection.cs
- ISAPIRuntime.cs
- LifetimeServices.cs
- Parameter.cs
- ArrayElementGridEntry.cs