Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Base / System / Windows / Markup / InternalTypeHelper.cs / 1 / InternalTypeHelper.cs
//---------------------------------------------------------------------------- // // File: InternalTypeHelper.cs // // Description: // Defines a class that Provides methods used internally by the BamlReader to access // allowed internal types, properties and events in Partial Trust. The markup compiler // will generate a subclass of this class that provides an appropriate implementation // in the user's code context. // // Copyright (C) 2003 by Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.Windows; using System.Reflection; using System.ComponentModel; using System.Globalization; namespace System.Windows.Markup { ////// Class that provides methods used internally by the BamlReader to access allowed /// internal types, properties and events in Partial Trust. The markup compiler /// will generate a subclass of this class that provides an appropriate implementation /// in the user's code context. /// [EditorBrowsable(EditorBrowsableState.Never)] public abstract class InternalTypeHelper { ////// Default InternalTypeHelper constructor /// protected InternalTypeHelper() { } ////// Called by the BamlReader to create an internal Type. /// protected internal abstract object CreateInstance(Type type, CultureInfo culture); ////// Called by the BamlReader to set an internal property value on a target object. /// protected internal abstract object GetPropertyValue(PropertyInfo propertyInfo, object target, CultureInfo culture); ////// Called by the BamlReader to get an internal property value on a target object. /// protected internal abstract void SetPropertyValue(PropertyInfo propertyInfo, object target, object value, CultureInfo culture); ////// Called by the BamlReader to create an event delegate on a non-public handler method. /// protected internal abstract Delegate CreateDelegate(Type delegateType, object target, string handler); ////// Called by the BamlReader to attach an event handler delegate to an internal event. /// protected internal abstract void AddEventHandler(EventInfo eventInfo, object target, Delegate handler); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // // File: InternalTypeHelper.cs // // Description: // Defines a class that Provides methods used internally by the BamlReader to access // allowed internal types, properties and events in Partial Trust. The markup compiler // will generate a subclass of this class that provides an appropriate implementation // in the user's code context. // // Copyright (C) 2003 by Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.Windows; using System.Reflection; using System.ComponentModel; using System.Globalization; namespace System.Windows.Markup { ////// Class that provides methods used internally by the BamlReader to access allowed /// internal types, properties and events in Partial Trust. The markup compiler /// will generate a subclass of this class that provides an appropriate implementation /// in the user's code context. /// [EditorBrowsable(EditorBrowsableState.Never)] public abstract class InternalTypeHelper { ////// Default InternalTypeHelper constructor /// protected InternalTypeHelper() { } ////// Called by the BamlReader to create an internal Type. /// protected internal abstract object CreateInstance(Type type, CultureInfo culture); ////// Called by the BamlReader to set an internal property value on a target object. /// protected internal abstract object GetPropertyValue(PropertyInfo propertyInfo, object target, CultureInfo culture); ////// Called by the BamlReader to get an internal property value on a target object. /// protected internal abstract void SetPropertyValue(PropertyInfo propertyInfo, object target, object value, CultureInfo culture); ////// Called by the BamlReader to create an event delegate on a non-public handler method. /// protected internal abstract Delegate CreateDelegate(Type delegateType, object target, string handler); ////// Called by the BamlReader to attach an event handler delegate to an internal event. /// protected internal abstract void AddEventHandler(EventInfo eventInfo, object target, Delegate handler); } } // 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
- TableCellCollection.cs
- Convert.cs
- CommandLibraryHelper.cs
- TrackingDataItem.cs
- _NegoStream.cs
- WindowsStartMenu.cs
- SmtpCommands.cs
- ClientCultureInfo.cs
- Classification.cs
- CustomDictionarySources.cs
- ExpressionsCollectionConverter.cs
- ZipPackage.cs
- ClientSession.cs
- ListGeneralPage.cs
- SystemUdpStatistics.cs
- EntryPointNotFoundException.cs
- TransportChannelFactory.cs
- ExpressionConverter.cs
- XmlNodeList.cs
- DocumentDesigner.cs
- COM2TypeInfoProcessor.cs
- Journal.cs
- Clock.cs
- UIElementParagraph.cs
- VisemeEventArgs.cs
- TerminateDesigner.cs
- DataGridViewRowsAddedEventArgs.cs
- ColumnMapProcessor.cs
- KnownColorTable.cs
- UserControlParser.cs
- RegexCompilationInfo.cs
- FacetValueContainer.cs
- EditorBrowsableAttribute.cs
- SqlVersion.cs
- PersonalizationStateQuery.cs
- Border.cs
- UnmanagedMemoryStream.cs
- DataGridClipboardHelper.cs
- InstalledVoice.cs
- EntityContainer.cs
- WindowsFont.cs
- WebSysDescriptionAttribute.cs
- MasterPageBuildProvider.cs
- SQLBinary.cs
- assemblycache.cs
- ListViewCancelEventArgs.cs
- HostingEnvironment.cs
- PrintPreviewGraphics.cs
- SchemaImporterExtensionElementCollection.cs
- XmlSerializerImportOptions.cs
- CompilerGeneratedAttribute.cs
- ControlBuilder.cs
- CodeGenerationManager.cs
- CngKeyBlobFormat.cs
- IssuedTokenParametersEndpointAddressElement.cs
- OrderByBuilder.cs
- ParameterCollection.cs
- SessionState.cs
- TextEditorDragDrop.cs
- Boolean.cs
- XmlCodeExporter.cs
- IndexedString.cs
- SchemaElementDecl.cs
- FileVersion.cs
- DataGridViewCellStyleConverter.cs
- FamilyMapCollection.cs
- ChangeBlockUndoRecord.cs
- DataReceivedEventArgs.cs
- Atom10FormatterFactory.cs
- StylusPointProperties.cs
- Overlapped.cs
- ZipIOExtraFieldElement.cs
- OutputCacheSection.cs
- MimeAnyImporter.cs
- ProgressBarBrushConverter.cs
- RangeExpression.cs
- IApplicationTrustManager.cs
- EventLogStatus.cs
- TableLayoutStyle.cs
- MessageQueuePermissionEntry.cs
- DesignerVerb.cs
- FontCacheLogic.cs
- RemotingConfigParser.cs
- SystemDropShadowChrome.cs
- ToolStripMenuItem.cs
- ToolStripTextBox.cs
- PocoEntityKeyStrategy.cs
- EmbeddedMailObject.cs
- ArrayMergeHelper.cs
- Scene3D.cs
- MissingFieldException.cs
- SizeChangedEventArgs.cs
- RootBuilder.cs
- FirstMatchCodeGroup.cs
- Animatable.cs
- ItemContainerGenerator.cs
- KeyedCollection.cs
- CommandField.cs
- ScrollViewer.cs
- TemplateBamlTreeBuilder.cs