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
- UserControl.cs
- EventOpcode.cs
- ExpandCollapseProviderWrapper.cs
- DefinitionUpdate.cs
- TheQuery.cs
- PropertyRecord.cs
- AdapterUtil.cs
- MaterialCollection.cs
- MouseGestureConverter.cs
- SQLBinaryStorage.cs
- IISMapPath.cs
- AddInPipelineAttributes.cs
- OleDbCommand.cs
- ConstraintStruct.cs
- CodeMemberEvent.cs
- _NTAuthentication.cs
- ApplicationHost.cs
- NegotiateStream.cs
- InnerItemCollectionView.cs
- RelatedView.cs
- ItemContainerGenerator.cs
- ProcessThreadCollection.cs
- MenuAutomationPeer.cs
- ComboBoxItem.cs
- SplineKeyFrames.cs
- XamlReaderHelper.cs
- DrawingGroupDrawingContext.cs
- ObjectNavigationPropertyMapping.cs
- ViewRendering.cs
- ObjectTag.cs
- DocumentPaginator.cs
- DocumentApplication.cs
- Matrix3DValueSerializer.cs
- ProcessHostConfigUtils.cs
- SocketAddress.cs
- TraceSwitch.cs
- SubclassTypeValidator.cs
- SQLGuid.cs
- WebBrowserHelper.cs
- MiniAssembly.cs
- MarkupCompilePass1.cs
- BaseDataBoundControl.cs
- DateTimeConverter.cs
- NativeMethods.cs
- XmlCharType.cs
- Simplifier.cs
- ISO2022Encoding.cs
- MethodCallTranslator.cs
- Mutex.cs
- StructuredType.cs
- FlowDocumentReader.cs
- XmlValueConverter.cs
- UmAlQuraCalendar.cs
- PageStatePersister.cs
- RoutedEventArgs.cs
- MediaElementAutomationPeer.cs
- ZipIOExtraFieldZip64Element.cs
- EdmFunctionAttribute.cs
- ToolboxComponentsCreatedEventArgs.cs
- LinearGradientBrush.cs
- ClaimTypeElement.cs
- SchemaImporterExtensionsSection.cs
- ContractComponent.cs
- SinglePhaseEnlistment.cs
- DateTimeFormatInfoScanner.cs
- EntityClientCacheKey.cs
- ValidatedControlConverter.cs
- DbProviderFactory.cs
- ReliableSessionElement.cs
- ThreadStateException.cs
- XmlSchemaAttribute.cs
- TrackBarRenderer.cs
- AssemblyResourceLoader.cs
- userdatakeys.cs
- MergePropertyDescriptor.cs
- SurrogateEncoder.cs
- DynamicILGenerator.cs
- PhysicalAddress.cs
- ApplicationActivator.cs
- FixedSOMPageConstructor.cs
- Stack.cs
- CustomAttributeSerializer.cs
- WebRequestModulesSection.cs
- ScriptControlDescriptor.cs
- DataBoundControlParameterTarget.cs
- SqlConnectionFactory.cs
- Slider.cs
- externdll.cs
- dataSvcMapFileLoader.cs
- PropertyMapper.cs
- Geometry3D.cs
- GroupDescription.cs
- ConstraintStruct.cs
- ProxyElement.cs
- ReferenceService.cs
- SimpleRecyclingCache.cs
- GroupStyle.cs
- UpdateExpressionVisitor.cs
- OutputCacheSettingsSection.cs
- AuthorizationRuleCollection.cs