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
- BindingCollection.cs
- DictionaryBase.cs
- ByteAnimation.cs
- CornerRadius.cs
- OracleLob.cs
- DelegatingTypeDescriptionProvider.cs
- ContextStaticAttribute.cs
- HttpRequestCacheValidator.cs
- HttpsHostedTransportConfiguration.cs
- ImageButton.cs
- RandomDelaySendsAsyncResult.cs
- ClaimTypeElementCollection.cs
- ReverseQueryOperator.cs
- StylusSystemGestureEventArgs.cs
- HtmlLink.cs
- UITypeEditors.cs
- ObjectQueryState.cs
- XmlResolver.cs
- TaiwanLunisolarCalendar.cs
- RSAPKCS1SignatureDeformatter.cs
- Effect.cs
- AttributedMetaModel.cs
- SiteMapNodeItem.cs
- Int32Rect.cs
- DiscriminatorMap.cs
- XPathParser.cs
- _BaseOverlappedAsyncResult.cs
- InfoCardServiceInstallComponent.cs
- HyperLinkColumn.cs
- DataSourceCacheDurationConverter.cs
- XmlAtomicValue.cs
- OperationCanceledException.cs
- AggregateNode.cs
- SchemaMerger.cs
- MessageSmuggler.cs
- DataChangedEventManager.cs
- HtmlElement.cs
- HorizontalAlignConverter.cs
- ObjectStateFormatter.cs
- TextBoxBase.cs
- HttpListenerPrefixCollection.cs
- QuadraticBezierSegment.cs
- CatalogPartChrome.cs
- AssemblyInfo.cs
- PageThemeBuildProvider.cs
- DbConnectionInternal.cs
- SqlXml.cs
- DataPagerCommandEventArgs.cs
- FixedTextView.cs
- FloatUtil.cs
- TagElement.cs
- EntityViewContainer.cs
- RelatedImageListAttribute.cs
- HideDisabledControlAdapter.cs
- WSSecurityJan2004.cs
- KeyGestureConverter.cs
- DrawListViewItemEventArgs.cs
- FileChangesMonitor.cs
- HostingEnvironmentSection.cs
- AuthorizationSection.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- WebMessageBodyStyleHelper.cs
- ExtensionSimplifierMarkupObject.cs
- invalidudtexception.cs
- WebBrowserEvent.cs
- TransformProviderWrapper.cs
- WebPartMenuStyle.cs
- COM2FontConverter.cs
- XmlQueryRuntime.cs
- sitestring.cs
- BrowserCapabilitiesCodeGenerator.cs
- EventProviderTraceListener.cs
- SoapParser.cs
- InputGestureCollection.cs
- OutputCacheModule.cs
- ChildDocumentBlock.cs
- HandledMouseEvent.cs
- RegexParser.cs
- EncoderFallback.cs
- Input.cs
- PointAnimationUsingKeyFrames.cs
- counter.cs
- DocumentGridContextMenu.cs
- SchemaName.cs
- QilIterator.cs
- ComponentDispatcherThread.cs
- PointUtil.cs
- NativeMethods.cs
- LinkedResource.cs
- HealthMonitoringSectionHelper.cs
- SHA512.cs
- NotifyCollectionChangedEventArgs.cs
- NegotiateStream.cs
- ArrayElementGridEntry.cs
- AstNode.cs
- FtpRequestCacheValidator.cs
- XmlSerializationReader.cs
- CorrelationValidator.cs
- AppSettingsExpressionBuilder.cs
- TransactionOptions.cs