Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / Host / HostDesigntimeLicenseContext.cs / 1 / HostDesigntimeLicenseContext.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel.Design { ////// /// This class will provide a license context that the LicenseManager can use /// to get to the design time services, like ITypeResolutionService. /// internal class HostDesigntimeLicenseContext : DesigntimeLicenseContext { private IServiceProvider provider; public HostDesigntimeLicenseContext(IServiceProvider provider) { this.provider = provider; } public override object GetService(Type serviceClass) { return provider.GetService(serviceClass); } } } // 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
- TextBoxAutomationPeer.cs
- StateBag.cs
- Pkcs7Recipient.cs
- FlowDocumentFormatter.cs
- Tile.cs
- MorphHelpers.cs
- EncodingTable.cs
- StandardBindingCollectionElement.cs
- BitmapEncoder.cs
- Int32RectConverter.cs
- UIEndRequest.cs
- TcpClientChannel.cs
- ListViewItemMouseHoverEvent.cs
- XmlImplementation.cs
- FileUtil.cs
- Size3D.cs
- CustomLineCap.cs
- WindowVisualStateTracker.cs
- TextContainer.cs
- ProfilePropertyNameValidator.cs
- TypePresenter.xaml.cs
- PointLightBase.cs
- DataListItem.cs
- SecurityState.cs
- Encoder.cs
- NavigationCommands.cs
- CommandTreeTypeHelper.cs
- DataSet.cs
- CompoundFileStreamReference.cs
- NotFiniteNumberException.cs
- SqlConnectionPoolGroupProviderInfo.cs
- TypeSchema.cs
- ExitEventArgs.cs
- BitmapEffectState.cs
- ParserContext.cs
- QilLoop.cs
- ThaiBuddhistCalendar.cs
- PrefixQName.cs
- ClientUtils.cs
- baseaxisquery.cs
- AuthorizationRuleCollection.cs
- DateBoldEvent.cs
- ResXBuildProvider.cs
- XslCompiledTransform.cs
- XmlCharacterData.cs
- _AutoWebProxyScriptEngine.cs
- DateTimeOffset.cs
- ListItemParagraph.cs
- MetabaseServerConfig.cs
- HttpVersion.cs
- XmlDeclaration.cs
- ExecutedRoutedEventArgs.cs
- DataRecordObjectView.cs
- ContentIterators.cs
- TreeNodeMouseHoverEvent.cs
- FontDialog.cs
- XpsSerializerFactory.cs
- OutgoingWebResponseContext.cs
- ListViewGroupConverter.cs
- ProjectionPathSegment.cs
- OracleConnection.cs
- ComNativeDescriptor.cs
- PropertyGridCommands.cs
- OwnerDrawPropertyBag.cs
- TextWriterTraceListener.cs
- SchemaExporter.cs
- JulianCalendar.cs
- ComponentEditorForm.cs
- CachedBitmap.cs
- OperationParameterInfo.cs
- SkewTransform.cs
- SegmentInfo.cs
- KnownAssembliesSet.cs
- TimeZone.cs
- InvokePatternIdentifiers.cs
- HttpStreams.cs
- WebPartActionVerb.cs
- IxmlLineInfo.cs
- ClientConfigurationHost.cs
- CodeIdentifiers.cs
- SerialPort.cs
- BuildDependencySet.cs
- SmiContext.cs
- Utils.cs
- WhereQueryOperator.cs
- SiteMapPathDesigner.cs
- SourceInterpreter.cs
- TextModifierScope.cs
- RunClient.cs
- ConfigurationManagerHelper.cs
- DataServiceRequestException.cs
- CollectionBase.cs
- EnumerableRowCollection.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ObjectCloneHelper.cs
- DataContractSerializerFaultFormatter.cs
- Stacktrace.cs
- CreateSequence.cs
- NamespaceEmitter.cs
- SqlStatistics.cs