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
- SqlGenerator.cs
- XmlC14NWriter.cs
- AssemblyResourceLoader.cs
- PassportAuthenticationEventArgs.cs
- SelectionItemPattern.cs
- EditorZoneBase.cs
- TemplateKeyConverter.cs
- RotateTransform.cs
- DateTimeAutomationPeer.cs
- VBCodeProvider.cs
- XPathDocumentIterator.cs
- DescendantBaseQuery.cs
- PixelFormatConverter.cs
- cookieexception.cs
- EventEntry.cs
- NativeWindow.cs
- PostBackTrigger.cs
- StateMachineSubscriptionManager.cs
- NumericExpr.cs
- LockedHandleGlyph.cs
- ControlAdapter.cs
- SqlCacheDependencyDatabase.cs
- OpCellTreeNode.cs
- ConfigurationCollectionAttribute.cs
- TransformerInfoCollection.cs
- _HelperAsyncResults.cs
- OrderPreservingSpoolingTask.cs
- DesignerEditorPartChrome.cs
- ReadOnlyDictionary.cs
- BuildProviderInstallComponent.cs
- XmlValidatingReader.cs
- HostUtils.cs
- List.cs
- ObjectParameterCollection.cs
- SpotLight.cs
- Transactions.cs
- TripleDES.cs
- SessionStateContainer.cs
- ArcSegment.cs
- SqlDataSourceFilteringEventArgs.cs
- MemoryPressure.cs
- GroupByExpressionRewriter.cs
- Simplifier.cs
- XmlDataSourceNodeDescriptor.cs
- CurrencyManager.cs
- DesignerInterfaces.cs
- Attributes.cs
- CqlParserHelpers.cs
- CodeAssignStatement.cs
- ToolboxItemCollection.cs
- LineBreakRecord.cs
- PrintingPermission.cs
- X509Certificate2.cs
- Padding.cs
- _BaseOverlappedAsyncResult.cs
- SqlEnums.cs
- Util.cs
- NamedObject.cs
- WebHttpBindingElement.cs
- SettingsProviderCollection.cs
- Path.cs
- SQLByte.cs
- BitmapImage.cs
- DataControlLinkButton.cs
- regiisutil.cs
- DoubleLinkList.cs
- ResolveResponseInfo.cs
- CustomErrorsSection.cs
- SiteMapPath.cs
- _ConnectStream.cs
- UInt64Converter.cs
- DataSourceSelectArguments.cs
- ScriptControlDescriptor.cs
- SqlBulkCopyColumnMapping.cs
- CompressionTransform.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ProfileServiceManager.cs
- ProgramPublisher.cs
- TransformerConfigurationWizardBase.cs
- ObfuscationAttribute.cs
- Emitter.cs
- AspNetSynchronizationContext.cs
- Lasso.cs
- FrameworkContextData.cs
- Stack.cs
- TableItemPatternIdentifiers.cs
- ThreadInterruptedException.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- FlowDocumentReader.cs
- BoolExpression.cs
- GenericsNotImplementedException.cs
- ContextActivityUtils.cs
- DesignerOptions.cs
- ObjectManager.cs
- StringValidator.cs
- HotSpot.cs
- ProgressBar.cs
- AnimationClock.cs
- JsonReader.cs
- RangeBase.cs