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
- TheQuery.cs
- SchemaEntity.cs
- TextBoxRenderer.cs
- DocumentGrid.cs
- StreamSecurityUpgradeAcceptorBase.cs
- AssemblyUtil.cs
- ProjectionQueryOptionExpression.cs
- WinCategoryAttribute.cs
- ChannelToken.cs
- XmlDataImplementation.cs
- WmlFormAdapter.cs
- DatagridviewDisplayedBandsData.cs
- CompilerState.cs
- Path.cs
- DrawingCollection.cs
- ServiceOperationListItemList.cs
- DataStreamFromComStream.cs
- ObjectPersistData.cs
- SocketElement.cs
- StreamGeometry.cs
- SymmetricSecurityProtocolFactory.cs
- TypeConverterMarkupExtension.cs
- ConfigXmlSignificantWhitespace.cs
- LexicalChunk.cs
- Repeater.cs
- PTProvider.cs
- SHA1CryptoServiceProvider.cs
- GetParentChain.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- DataPager.cs
- BuilderInfo.cs
- HttpModulesSection.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- SortQuery.cs
- CompatibleIComparer.cs
- PropertyChangingEventArgs.cs
- Pair.cs
- FormatConvertedBitmap.cs
- WebPartTransformerAttribute.cs
- DrawingGroup.cs
- ChannelProtectionRequirements.cs
- SpellerHighlightLayer.cs
- SecurityDocument.cs
- RSACryptoServiceProvider.cs
- ElementMarkupObject.cs
- WindowCollection.cs
- Nodes.cs
- DataControlFieldCollection.cs
- EncryptedData.cs
- QuaternionValueSerializer.cs
- ResourceAttributes.cs
- CompiledQuery.cs
- GacUtil.cs
- Parser.cs
- EventLogEntry.cs
- BindingExpressionUncommonField.cs
- IOException.cs
- LinearGradientBrush.cs
- TranslateTransform.cs
- AsyncPostBackTrigger.cs
- WebContext.cs
- CodeDomConfigurationHandler.cs
- TableRow.cs
- AppDomain.cs
- TypeDescriptor.cs
- SqlXml.cs
- BitVec.cs
- RecoverInstanceLocksCommand.cs
- FormatSettings.cs
- ResourceBinder.cs
- FacetValues.cs
- HttpApplicationFactory.cs
- ToolboxItemAttribute.cs
- AddInEnvironment.cs
- TypeSemantics.cs
- SqlReorderer.cs
- DataGridViewIntLinkedList.cs
- ParameterBuilder.cs
- DataColumnMapping.cs
- AppSettingsReader.cs
- NamespaceCollection.cs
- TextSchema.cs
- HttpCachePolicyElement.cs
- EntitySqlQueryBuilder.cs
- LabelExpression.cs
- FormsAuthenticationCredentials.cs
- latinshape.cs
- XmlMemberMapping.cs
- ConstraintEnumerator.cs
- Walker.cs
- Pair.cs
- MaskedTextBoxTextEditor.cs
- UnauthorizedWebPart.cs
- Drawing.cs
- TransformDescriptor.cs
- ObjectStorage.cs
- TimeZoneInfo.cs
- FontNamesConverter.cs
- ControlCollection.cs
- HttpWebRequest.cs