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
- XmlResolver.cs
- Part.cs
- Int16KeyFrameCollection.cs
- ChangePassword.cs
- DictationGrammar.cs
- IsolatedStorageException.cs
- SettingsAttributeDictionary.cs
- BuildProvider.cs
- ISessionStateStore.cs
- FullTextState.cs
- ServiceMemoryGates.cs
- DataSysAttribute.cs
- COSERVERINFO.cs
- FixedSOMTable.cs
- DataGridViewElement.cs
- ConfigWriter.cs
- Message.cs
- ImageCollectionCodeDomSerializer.cs
- SHA384Managed.cs
- Message.cs
- fixedPageContentExtractor.cs
- SendActivityDesignerTheme.cs
- RoleGroup.cs
- EventManager.cs
- PackageRelationshipCollection.cs
- AdornerDecorator.cs
- ReceiveDesigner.xaml.cs
- ServicesUtilities.cs
- JsonQueryStringConverter.cs
- MimeWriter.cs
- TemplateBuilder.cs
- PerformanceCounterCategory.cs
- DbExpressionRules.cs
- ApplicationManager.cs
- TagPrefixInfo.cs
- TracePayload.cs
- CollectionViewGroupRoot.cs
- OracleInfoMessageEventArgs.cs
- StructuralCache.cs
- InfoCardRSACryptoProvider.cs
- GeneralTransform3D.cs
- MetadataItemCollectionFactory.cs
- DatagramAdapter.cs
- ColumnClickEvent.cs
- UiaCoreProviderApi.cs
- XmlDeclaration.cs
- DropShadowBitmapEffect.cs
- DBCommandBuilder.cs
- LostFocusEventManager.cs
- PenThread.cs
- ComplexPropertyEntry.cs
- SafeArrayTypeMismatchException.cs
- ApplicationServicesHostFactory.cs
- GestureRecognitionResult.cs
- ExcCanonicalXml.cs
- DefaultBinder.cs
- ServiceDocument.cs
- TabItem.cs
- InputLanguage.cs
- KeyValueConfigurationElement.cs
- CombinedGeometry.cs
- SafeNativeMemoryHandle.cs
- EmptyCollection.cs
- WsatAdminException.cs
- SoapHeaderException.cs
- StackSpiller.cs
- EntityConnection.cs
- WSDualHttpBinding.cs
- IDQuery.cs
- GridItemPattern.cs
- XhtmlBasicPageAdapter.cs
- Rights.cs
- XmlEntityReference.cs
- FieldToken.cs
- NativeMethods.cs
- WorkflowRuntimeServicesBehavior.cs
- InlineCollection.cs
- LinqDataSourceInsertEventArgs.cs
- FloaterParagraph.cs
- FrameAutomationPeer.cs
- AnonymousIdentificationModule.cs
- XPathExpr.cs
- VectorValueSerializer.cs
- MultipartContentParser.cs
- ObfuscationAttribute.cs
- GeometryDrawing.cs
- HtmlInputRadioButton.cs
- ObjectContextServiceProvider.cs
- ResponseBodyWriter.cs
- EntityClientCacheKey.cs
- CodeDomExtensionMethods.cs
- _KerberosClient.cs
- ProcessInfo.cs
- PointLightBase.cs
- HttpInputStream.cs
- UnaryNode.cs
- TableStyle.cs
- SqlDataSourceSummaryPanel.cs
- SamlAdvice.cs
- XmlSchemaValidationException.cs