Code:
/ FX-1434 / FX-1434 / 1.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
- ISessionStateStore.cs
- RadioButton.cs
- IgnoreSection.cs
- LinqDataSourceInsertEventArgs.cs
- CngKeyCreationParameters.cs
- HttpFileCollection.cs
- HttpSessionStateWrapper.cs
- LifetimeServices.cs
- CanonicalFormWriter.cs
- IsolatedStorageSecurityState.cs
- KnownBoxes.cs
- baseshape.cs
- OledbConnectionStringbuilder.cs
- CookielessHelper.cs
- Pointer.cs
- DesignerDataTableBase.cs
- XmlAnyAttributeAttribute.cs
- DataGridTableCollection.cs
- TypeLibConverter.cs
- HttpResponse.cs
- SlotInfo.cs
- FixedSOMContainer.cs
- SimpleHandlerBuildProvider.cs
- UpdateTracker.cs
- InvalidCardException.cs
- DBSchemaTable.cs
- PolyQuadraticBezierSegment.cs
- FileDialog.cs
- XmlTextWriter.cs
- RequestCachePolicyConverter.cs
- Vector3dCollection.cs
- LocatorPartList.cs
- XomlCompiler.cs
- FastEncoderStatics.cs
- RoleBoolean.cs
- TemplateBamlRecordReader.cs
- WebBrowserDocumentCompletedEventHandler.cs
- PartialArray.cs
- TextDecoration.cs
- DefaultTextStore.cs
- FormsAuthenticationUserCollection.cs
- PanelDesigner.cs
- XmlStringTable.cs
- TextServicesDisplayAttribute.cs
- DefaultCommandExtensionCallback.cs
- ToggleProviderWrapper.cs
- Assembly.cs
- ImageAutomationPeer.cs
- GridViewColumnHeader.cs
- SqlTrackingWorkflowInstance.cs
- GeneratedCodeAttribute.cs
- IdentityValidationException.cs
- LayoutTable.cs
- ListViewItem.cs
- WinFormsSecurity.cs
- XmlChoiceIdentifierAttribute.cs
- ValueChangedEventManager.cs
- ImmutablePropertyDescriptorGridEntry.cs
- QilTargetType.cs
- XmlDataProvider.cs
- BrowserTree.cs
- PasswordRecoveryAutoFormat.cs
- DataContractSerializerSection.cs
- TransformProviderWrapper.cs
- ConversionContext.cs
- DataRowExtensions.cs
- _StreamFramer.cs
- ProcessModule.cs
- QEncodedStream.cs
- TreeBuilder.cs
- BooleanFunctions.cs
- IList.cs
- UnsupportedPolicyOptionsException.cs
- Oci.cs
- AppDomainAttributes.cs
- LinkedList.cs
- DoubleIndependentAnimationStorage.cs
- DBCSCodePageEncoding.cs
- QualificationDataAttribute.cs
- EnumUnknown.cs
- ReaderWriterLockWrapper.cs
- Cursor.cs
- GridViewDeletedEventArgs.cs
- OneOf.cs
- MeasureData.cs
- QueryableFilterUserControl.cs
- CompositeControl.cs
- RangeValuePatternIdentifiers.cs
- IndentedWriter.cs
- NullReferenceException.cs
- Instrumentation.cs
- AnonymousIdentificationModule.cs
- RuntimeArgumentHandle.cs
- BaseTreeIterator.cs
- HttpModuleAction.cs
- QueueProcessor.cs
- ValueType.cs
- CheckBoxPopupAdapter.cs
- SessionStateItemCollection.cs
- mda.cs