Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ApplicationInfo.cs
- HostingEnvironment.cs
- webbrowsersite.cs
- ImageCodecInfo.cs
- ImageClickEventArgs.cs
- PropertyGeneratedEventArgs.cs
- XmlAnyElementAttributes.cs
- ControlIdConverter.cs
- DataSetUtil.cs
- HebrewCalendar.cs
- PermissionSetTriple.cs
- ListMarkerLine.cs
- CompareValidator.cs
- SafePEFileHandle.cs
- FileInfo.cs
- TableRow.cs
- MetaData.cs
- COM2PictureConverter.cs
- CssStyleCollection.cs
- TableColumn.cs
- CustomBindingElement.cs
- ToolStripDropDownMenu.cs
- SplayTreeNode.cs
- InternalException.cs
- DnsPermission.cs
- EditorOptionAttribute.cs
- DesignTable.cs
- SemanticTag.cs
- RoleManagerModule.cs
- ScalarType.cs
- DataTableMapping.cs
- DataServiceClientException.cs
- ContentPresenter.cs
- TreePrinter.cs
- AttachmentCollection.cs
- FileInfo.cs
- SHA1Managed.cs
- XmlSchemaSimpleType.cs
- HtmlElementEventArgs.cs
- SqlNode.cs
- SafeNativeMethods.cs
- GridViewColumnHeader.cs
- recordstatefactory.cs
- SafeProcessHandle.cs
- StringAnimationBase.cs
- LayoutManager.cs
- EditorZone.cs
- HttpApplicationStateBase.cs
- ExcCanonicalXml.cs
- StructuralCache.cs
- OracleLob.cs
- LambdaSerializationException.cs
- ApplicationContext.cs
- FactoryGenerator.cs
- ErrorWebPart.cs
- ListenerUnsafeNativeMethods.cs
- Sql8ExpressionRewriter.cs
- ToolboxItemCollection.cs
- SelectionItemPattern.cs
- Duration.cs
- TypeConverterHelper.cs
- FileSystemInfo.cs
- FamilyMap.cs
- MergablePropertyAttribute.cs
- DescendantOverDescendantQuery.cs
- _NetworkingPerfCounters.cs
- ConnectionConsumerAttribute.cs
- SharedDp.cs
- PrintPreviewControl.cs
- XPathParser.cs
- CommonDialog.cs
- ServiceNameElementCollection.cs
- Wizard.cs
- CngKey.cs
- PrimitiveDataContract.cs
- ProtocolsConfigurationEntry.cs
- DisableDpiAwarenessAttribute.cs
- BufferedResponseStream.cs
- ComEventsSink.cs
- PeerCollaboration.cs
- __TransparentProxy.cs
- InputReferenceExpression.cs
- MenuTracker.cs
- MembershipSection.cs
- UpdateRecord.cs
- SrgsDocumentParser.cs
- SmtpMail.cs
- AmbiguousMatchException.cs
- ArrayTypeMismatchException.cs
- AspNetHostingPermission.cs
- sqlnorm.cs
- basecomparevalidator.cs
- MultiBinding.cs
- InvalidateEvent.cs
- SymLanguageType.cs
- ZipIOExtraFieldElement.cs
- PeerNeighborManager.cs
- CheckBox.cs
- Literal.cs
- IndexerNameAttribute.cs