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
- StackBuilderSink.cs
- StringFunctions.cs
- SerialPort.cs
- EmbeddedObject.cs
- MarshalByRefObject.cs
- ObjectDataSource.cs
- DesignUtil.cs
- DataGridViewTopLeftHeaderCell.cs
- CodeTypeDeclarationCollection.cs
- Int32EqualityComparer.cs
- KeyValueConfigurationElement.cs
- InfoCardAsymmetricCrypto.cs
- AssemblyEvidenceFactory.cs
- MetabaseServerConfig.cs
- IdleTimeoutMonitor.cs
- FontStyle.cs
- XmlBaseReader.cs
- TabItem.cs
- EventSourceCreationData.cs
- TextDecorationLocationValidation.cs
- NodeFunctions.cs
- SignerInfo.cs
- DataControlImageButton.cs
- Point.cs
- MostlySingletonList.cs
- NetCodeGroup.cs
- TdsValueSetter.cs
- MenuItem.cs
- TableRowCollection.cs
- SmiRequestExecutor.cs
- WmpBitmapEncoder.cs
- DesignerDataSchemaClass.cs
- SmtpNtlmAuthenticationModule.cs
- WebPartEditorApplyVerb.cs
- InkCanvasFeedbackAdorner.cs
- EmbeddedMailObjectsCollection.cs
- ParserHooks.cs
- DataGridViewColumnCollectionEditor.cs
- SRef.cs
- PtsContext.cs
- AssemblyAttributesGoHere.cs
- LockRecursionException.cs
- MSAAWinEventWrap.cs
- SvcFileManager.cs
- TableLayoutSettings.cs
- LocationReferenceValue.cs
- KeyedCollection.cs
- PagesChangedEventArgs.cs
- StrongNamePublicKeyBlob.cs
- SafeCoTaskMem.cs
- ClientScriptItemCollection.cs
- ColorIndependentAnimationStorage.cs
- InsufficientMemoryException.cs
- ParsedAttributeCollection.cs
- RbTree.cs
- Source.cs
- InteropBitmapSource.cs
- CharConverter.cs
- CustomErrorsSectionWrapper.cs
- QueryExecutionOption.cs
- MatrixTransform3D.cs
- XmlDataSourceDesigner.cs
- PartBasedPackageProperties.cs
- RtfNavigator.cs
- ConstraintStruct.cs
- Cursors.cs
- DataGridViewCellPaintingEventArgs.cs
- MergeFailedEvent.cs
- _HTTPDateParse.cs
- FontNamesConverter.cs
- SQLMoneyStorage.cs
- XmlLinkedNode.cs
- SequenceDesigner.cs
- DesignColumnCollection.cs
- NumericExpr.cs
- AuthenticationService.cs
- XsltContext.cs
- XsdDataContractImporter.cs
- ReturnValue.cs
- ObjectStateFormatter.cs
- FileRecordSequenceCompletedAsyncResult.cs
- DrawListViewSubItemEventArgs.cs
- TemplateControlCodeDomTreeGenerator.cs
- DataTableReader.cs
- URLIdentityPermission.cs
- CountdownEvent.cs
- XmlSerializerOperationGenerator.cs
- DeclarativeExpressionConditionDeclaration.cs
- CommonRemoteMemoryBlock.cs
- SchemaTableOptionalColumn.cs
- JoinElimination.cs
- ToolStripTemplateNode.cs
- SqlParameterCollection.cs
- URLIdentityPermission.cs
- CqlIdentifiers.cs
- ServerValidateEventArgs.cs
- PanelDesigner.cs
- DeploymentSectionCache.cs
- MiniModule.cs
- MetadataCache.cs