Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AssertHelper.cs
- DrawingAttributeSerializer.cs
- DataTemplateKey.cs
- EdmProperty.cs
- FileAuthorizationModule.cs
- PeerCollaboration.cs
- MenuAutomationPeer.cs
- BridgeDataRecord.cs
- SqlGatherProducedAliases.cs
- SqlColumnizer.cs
- DeleteStoreRequest.cs
- VerticalAlignConverter.cs
- SortQuery.cs
- OdbcParameter.cs
- StylusPointPropertyInfoDefaults.cs
- SecurityHelper.cs
- DataPagerFieldCollection.cs
- AsymmetricKeyExchangeFormatter.cs
- TraceHwndHost.cs
- FlowDocumentScrollViewer.cs
- RangeBase.cs
- AgileSafeNativeMemoryHandle.cs
- Symbol.cs
- AnimationClock.cs
- SqlDeflator.cs
- ISO2022Encoding.cs
- GridViewPageEventArgs.cs
- ProtocolsConfiguration.cs
- DataRowCollection.cs
- SortedList.cs
- HttpModuleAction.cs
- TextFormatter.cs
- CompiledRegexRunner.cs
- XmlNamespaceManager.cs
- HtmlFormWrapper.cs
- ColorTransformHelper.cs
- KeyProperty.cs
- ListControlDataBindingHandler.cs
- MemberHolder.cs
- ActivityInterfaces.cs
- IsolatedStorageFile.cs
- Resources.Designer.cs
- PersonalizationStateInfoCollection.cs
- ManagedFilter.cs
- TextRenderer.cs
- InkCanvas.cs
- WebConvert.cs
- WinEventWrap.cs
- FixedMaxHeap.cs
- XmlMemberMapping.cs
- Timer.cs
- DataGridToolTip.cs
- ReferencedType.cs
- FlowDocumentPaginator.cs
- XmlAttributes.cs
- KeyboardEventArgs.cs
- XmlWrappingReader.cs
- WindowsListViewItemStartMenu.cs
- PartialCachingAttribute.cs
- OdbcFactory.cs
- ServiceProviders.cs
- ExpressionCopier.cs
- MediaScriptCommandRoutedEventArgs.cs
- XmlLanguageConverter.cs
- IssuedTokenClientCredential.cs
- ClassHandlersStore.cs
- LinkLabelLinkClickedEvent.cs
- GiveFeedbackEvent.cs
- PKCS1MaskGenerationMethod.cs
- WebControl.cs
- OdbcCommandBuilder.cs
- TreeIterators.cs
- RootBrowserWindow.cs
- ReferenceConverter.cs
- SchemaInfo.cs
- RelatedImageListAttribute.cs
- M3DUtil.cs
- WebPartConnectVerb.cs
- TcpProcessProtocolHandler.cs
- NavigationExpr.cs
- TextContainerChangedEventArgs.cs
- ModuleBuilderData.cs
- QuaternionAnimation.cs
- ConstraintStruct.cs
- ProcessHostFactoryHelper.cs
- ListViewTableRow.cs
- BoundField.cs
- Color.cs
- ApplicationDirectory.cs
- EventRoute.cs
- XmlNamespaceManager.cs
- ScriptingProfileServiceSection.cs
- SmtpReplyReader.cs
- SHA512Managed.cs
- TemplateControl.cs
- SettingsContext.cs
- BuildManagerHost.cs
- BooleanFunctions.cs
- ObjectReaderCompiler.cs
- ItemCheckEvent.cs