Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / DesignerHierarchicalDataSourceView.cs / 1 / DesignerHierarchicalDataSourceView.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design { using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Design; public abstract class DesignerHierarchicalDataSourceView { private string _path; private IHierarchicalDataSourceDesigner _owner; protected DesignerHierarchicalDataSourceView(IHierarchicalDataSourceDesigner owner, string viewPath) { if (owner == null) { throw new ArgumentNullException("owner"); } if (viewPath == null) { throw new ArgumentNullException("viewPath"); } _owner = owner; _path = viewPath; } public IHierarchicalDataSourceDesigner DataSourceDesigner { get { return _owner; } } public string Path { get { return _path; } } ////// public virtual IDataSourceSchema Schema { get { return null; } } ////// Provides a design-time version of the hierarchical data source. This method /// will attempt to create sample data that matches the schema of the data source, /// though it might not necessarily match. /// public virtual IHierarchicalEnumerable GetDesignTimeData(out bool isSampleData) { isSampleData = true; // return null; } } } // 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
- webbrowsersite.cs
- AnnotationResource.cs
- MemoryMappedFileSecurity.cs
- UrlMapping.cs
- UnionExpr.cs
- RuleSettings.cs
- XmlSchemaChoice.cs
- XmlConvert.cs
- LiteralTextContainerControlBuilder.cs
- ObjectQueryExecutionPlan.cs
- FilterableAttribute.cs
- ConcurrentDictionary.cs
- PartitionerStatic.cs
- ObjectPersistData.cs
- UdpChannelFactory.cs
- WindowAutomationPeer.cs
- ToggleProviderWrapper.cs
- ScriptingWebServicesSectionGroup.cs
- ASCIIEncoding.cs
- PagesSection.cs
- PolicyChain.cs
- ConfigXmlReader.cs
- OperationAbortedException.cs
- EtwTrackingParticipant.cs
- Imaging.cs
- DynamicActionMessageFilter.cs
- JoinGraph.cs
- SpecularMaterial.cs
- DataSourceCacheDurationConverter.cs
- FamilyCollection.cs
- TextLineBreak.cs
- ImageMapEventArgs.cs
- DrawListViewItemEventArgs.cs
- UserControlBuildProvider.cs
- CFStream.cs
- ToolStripItemClickedEventArgs.cs
- OutputScopeManager.cs
- ScrollItemPattern.cs
- CorrelationRequestContext.cs
- AppDomainGrammarProxy.cs
- RC2.cs
- XslException.cs
- SliderAutomationPeer.cs
- MimeMapping.cs
- MetadataHelper.cs
- QEncodedStream.cs
- EnumerableCollectionView.cs
- GenericParameterDataContract.cs
- SQLRoleProvider.cs
- ContentControl.cs
- HostedTransportConfigurationBase.cs
- CreateRefExpr.cs
- WsdlBuildProvider.cs
- DataContract.cs
- SqlStream.cs
- Utils.cs
- RequiredFieldValidator.cs
- __FastResourceComparer.cs
- SoapAttributes.cs
- PermissionRequestEvidence.cs
- GenericTextProperties.cs
- XmlDownloadManager.cs
- TextSelection.cs
- MachineKeyConverter.cs
- HttpHandlersSection.cs
- EventMetadata.cs
- MenuItemStyleCollection.cs
- hwndwrapper.cs
- MemberHolder.cs
- Deserializer.cs
- DefaultAsyncDataDispatcher.cs
- RectangleHotSpot.cs
- LineSegment.cs
- CustomWebEventKey.cs
- BitmapEffectInputData.cs
- CapiSafeHandles.cs
- Stroke2.cs
- MessageBox.cs
- TileModeValidation.cs
- ChannelSinkStacks.cs
- ProfileModule.cs
- Switch.cs
- GenericEnumConverter.cs
- ImageFormatConverter.cs
- EntityDataSourceWrapper.cs
- FixedPage.cs
- RegexCharClass.cs
- MessageQueueInstaller.cs
- XmlnsDefinitionAttribute.cs
- ToolBarButtonDesigner.cs
- SchemaDeclBase.cs
- UriExt.cs
- ComboBox.cs
- SqlServices.cs
- ActivationServices.cs
- OleDbPermission.cs
- BuildResultCache.cs
- DataGridViewToolTip.cs
- MessageVersionConverter.cs