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
- updateconfighost.cs
- Debug.cs
- PinnedBufferMemoryStream.cs
- PtsHost.cs
- PrimarySelectionGlyph.cs
- PostBackOptions.cs
- DbParameterCollectionHelper.cs
- HelpProvider.cs
- CategoryNameCollection.cs
- SqlDependency.cs
- StatusBarItemAutomationPeer.cs
- QueryPageSettingsEventArgs.cs
- DataGridViewColumnHeaderCell.cs
- BindingContext.cs
- KerberosTokenFactoryCredential.cs
- DataGridViewLinkCell.cs
- XmlAtomicValue.cs
- CorePropertiesFilter.cs
- MetadataWorkspace.cs
- InternalPermissions.cs
- ObjectStateFormatter.cs
- GridViewCancelEditEventArgs.cs
- EntityCommandDefinition.cs
- HostVisual.cs
- WizardForm.cs
- PersistenceMetadataNamespace.cs
- OrderedDictionaryStateHelper.cs
- RootBuilder.cs
- BaseHashHelper.cs
- ISessionStateStore.cs
- ContextProperty.cs
- DbCommandTree.cs
- RuleSetBrowserDialog.cs
- StorageEntitySetMapping.cs
- FamilyMap.cs
- NotConverter.cs
- Walker.cs
- Emitter.cs
- ServerType.cs
- Int32CollectionValueSerializer.cs
- CryptoConfig.cs
- AmbiguousMatchException.cs
- ThemeDirectoryCompiler.cs
- ExtensionElementCollection.cs
- SettingsAttributeDictionary.cs
- Overlapped.cs
- ViewLoader.cs
- ManagementEventWatcher.cs
- IndexingContentUnit.cs
- DataServiceHostWrapper.cs
- XmlAnyElementAttribute.cs
- DateTimeOffsetConverter.cs
- XamlSerializerUtil.cs
- ConfigurationFileMap.cs
- TextStore.cs
- SqlConnectionString.cs
- ConvertTextFrag.cs
- SecuritySessionFilter.cs
- NameValueCollection.cs
- WebContext.cs
- DirectionalLight.cs
- BinHexDecoder.cs
- NoResizeHandleGlyph.cs
- ObjectViewEntityCollectionData.cs
- Config.cs
- ColumnCollectionEditor.cs
- Transform3DGroup.cs
- RemotingSurrogateSelector.cs
- MultiSelectRootGridEntry.cs
- DataGridViewSelectedCellCollection.cs
- CalendarDateRange.cs
- TypeResolver.cs
- TypeNameParser.cs
- Repeater.cs
- ReadOnlyCollection.cs
- AsyncResult.cs
- XmlName.cs
- FormsAuthenticationUser.cs
- EnvironmentPermission.cs
- NonVisualControlAttribute.cs
- SystemIcons.cs
- DelimitedListTraceListener.cs
- CellParagraph.cs
- TextViewSelectionProcessor.cs
- DBSqlParserColumn.cs
- ValidatorCollection.cs
- DeclarativeCatalogPart.cs
- AuthenticateEventArgs.cs
- StylusButtonCollection.cs
- CodeValidator.cs
- WrappedIUnknown.cs
- DataGridHeaderBorder.cs
- SafeEventLogWriteHandle.cs
- RawAppCommandInputReport.cs
- UnmanagedMemoryStream.cs
- SqlCrossApplyToCrossJoin.cs
- BitSet.cs
- XmlSchemaNotation.cs
- PlaceHolder.cs
- TextTreeInsertElementUndoUnit.cs