Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / System / Windows / Markup / InternalTypeHelper.cs / 1305600 / 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
- DataGridViewCell.cs
- propertytag.cs
- RouteValueExpressionBuilder.cs
- SequenceFullException.cs
- TextContainer.cs
- DefaultTraceListener.cs
- HashCryptoHandle.cs
- AsyncSerializedWorker.cs
- BrowserCapabilitiesCodeGenerator.cs
- DatasetMethodGenerator.cs
- PagerSettings.cs
- Matrix.cs
- DataServiceKeyAttribute.cs
- ComplexObject.cs
- Line.cs
- PaintValueEventArgs.cs
- Facet.cs
- DateTimeFormatInfoScanner.cs
- MailWriter.cs
- SrgsSubset.cs
- VisualCollection.cs
- ConfigXmlCDataSection.cs
- CharacterBufferReference.cs
- SiteMapNodeCollection.cs
- WindowsContainer.cs
- SQLDateTime.cs
- XmlSchemaRedefine.cs
- _AutoWebProxyScriptHelper.cs
- UriSectionData.cs
- BuildResultCache.cs
- SmtpFailedRecipientsException.cs
- WinInetCache.cs
- VariantWrapper.cs
- ZeroOpNode.cs
- Message.cs
- WebScriptClientGenerator.cs
- COM2Properties.cs
- BitmapMetadata.cs
- SimpleColumnProvider.cs
- AbsoluteQuery.cs
- ElementProxy.cs
- TableCell.cs
- ColumnWidthChangedEvent.cs
- HttpContextBase.cs
- RIPEMD160.cs
- LocatorBase.cs
- SizeValueSerializer.cs
- AssociatedControlConverter.cs
- ErrorInfoXmlDocument.cs
- SqlDataSourceSelectingEventArgs.cs
- Exception.cs
- WebBrowserNavigatedEventHandler.cs
- LambdaExpression.cs
- SafeHandle.cs
- TextTreeUndo.cs
- METAHEADER.cs
- ControlBuilderAttribute.cs
- DetailsViewUpdatedEventArgs.cs
- SubclassTypeValidator.cs
- ByteRangeDownloader.cs
- StylusCollection.cs
- LiteralTextParser.cs
- UmAlQuraCalendar.cs
- InertiaExpansionBehavior.cs
- SettingsPropertyCollection.cs
- TrackPointCollection.cs
- LogExtentCollection.cs
- SecurityChannelListener.cs
- ObjectIDGenerator.cs
- QilTernary.cs
- XmlElementList.cs
- ApplicationInterop.cs
- ReflectionHelper.cs
- XmlNavigatorStack.cs
- AutoScrollHelper.cs
- XmlHelper.cs
- ListDataHelper.cs
- XPathDocumentIterator.cs
- RenderingBiasValidation.cs
- EventSchemaTraceListener.cs
- Trace.cs
- basecomparevalidator.cs
- Geometry.cs
- XXXInfos.cs
- ExpressionEvaluator.cs
- FixedPosition.cs
- SiteMapSection.cs
- Hyperlink.cs
- CompoundFileStreamReference.cs
- HtmlInputCheckBox.cs
- SrgsElementFactory.cs
- FileSecurity.cs
- WindowVisualStateTracker.cs
- cookieexception.cs
- DomainUpDown.cs
- FontFamilyValueSerializer.cs
- ServicesExceptionNotHandledEventArgs.cs
- StrongBox.cs
- StreamFormatter.cs
- CustomErrorsSection.cs