Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / FileLevelControlBuilderAttribute.cs / 1305376 / FileLevelControlBuilderAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class)] public sealed class FileLevelControlBuilderAttribute : Attribute { ///Allows a TemplateControl (e.g. Page or UserControl) derived class to specify // the control builder used at the top level ofthe builder tree when parsing the file. /// for building that control within the ASP.NET parser. ////// /// public static readonly FileLevelControlBuilderAttribute Default = new FileLevelControlBuilderAttribute(null); private Type builderType = null; ///The default ///object is a /// builder. This field is read-only. /// public FileLevelControlBuilderAttribute(Type builderType) { this.builderType = builderType; } ////// public Type BuilderType { get { return builderType; } } ///Indicates XXX. This property is read-only. ////// /// public override int GetHashCode() { return builderType.GetHashCode(); } ///[To be supplied.] ////// /// public override bool Equals(object obj) { if (obj == this) { return true; } if ((obj != null) && (obj is FileLevelControlBuilderAttribute)) { return((FileLevelControlBuilderAttribute)obj).BuilderType == builderType; } return false; } ////// ///public override bool IsDefaultAttribute() { return this.Equals(Default); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DocumentAutomationPeer.cs
- DataTableTypeConverter.cs
- PerfCounters.cs
- TextTreeDeleteContentUndoUnit.cs
- ThreadStartException.cs
- NumberFormatter.cs
- FrameworkObject.cs
- SignerInfo.cs
- OutArgument.cs
- SerialReceived.cs
- COSERVERINFO.cs
- DoWhileDesigner.xaml.cs
- DataGrid.cs
- DataGridColumnReorderingEventArgs.cs
- XsdCachingReader.cs
- FontStretches.cs
- ClientConfigPaths.cs
- StoreContentChangedEventArgs.cs
- ValidatingReaderNodeData.cs
- LowerCaseStringConverter.cs
- XmlRawWriterWrapper.cs
- XmlDomTextWriter.cs
- ExpressionBuilderCollection.cs
- PolicyManager.cs
- PageSetupDialog.cs
- DataObjectSettingDataEventArgs.cs
- WebBrowserEvent.cs
- UdpMessageProperty.cs
- DataGridViewCellValueEventArgs.cs
- RankException.cs
- RootBrowserWindow.cs
- PropertiesTab.cs
- CharStorage.cs
- SecurityContext.cs
- DataSourceControl.cs
- SafeNativeMethodsOther.cs
- SetIterators.cs
- ServiceProviders.cs
- GenericWebPart.cs
- DrawTreeNodeEventArgs.cs
- XmlSerializerOperationBehavior.cs
- ContextMenu.cs
- Shape.cs
- NameGenerator.cs
- XPathAncestorQuery.cs
- CallbackHandler.cs
- StorageMappingItemCollection.cs
- GeometryDrawing.cs
- OracleRowUpdatingEventArgs.cs
- RecordsAffectedEventArgs.cs
- KeyValuePairs.cs
- SecurityNegotiationException.cs
- IISMapPath.cs
- NameTable.cs
- FileUtil.cs
- PEFileEvidenceFactory.cs
- CheckBoxFlatAdapter.cs
- InputMethod.cs
- ServicePointManager.cs
- XmlObjectSerializerWriteContextComplex.cs
- PrimaryKeyTypeConverter.cs
- DbProviderManifest.cs
- HtmlInputButton.cs
- QueryContinueDragEventArgs.cs
- SqlDataSourceWizardForm.cs
- Win32Native.cs
- PropertyDescriptorCollection.cs
- PerfService.cs
- RuleRefElement.cs
- DrawListViewSubItemEventArgs.cs
- HttpCacheVary.cs
- StreamGeometry.cs
- TypeConverterValueSerializer.cs
- sitestring.cs
- DomainUpDown.cs
- CustomSignedXml.cs
- PointAnimation.cs
- X509Extension.cs
- ElementHostAutomationPeer.cs
- BaseDataListActionList.cs
- DataExpression.cs
- EdmError.cs
- DoubleLinkListEnumerator.cs
- GenericTypeParameterBuilder.cs
- ChangeConflicts.cs
- DataList.cs
- CodeSubDirectory.cs
- XmlWellformedWriter.cs
- ScrollEventArgs.cs
- SetterBaseCollection.cs
- ViewStateModeByIdAttribute.cs
- XmlSchemaIdentityConstraint.cs
- TextBlock.cs
- FontEditor.cs
- OpenTypeLayout.cs
- WebPartTransformer.cs
- ClonableStack.cs
- Column.cs
- SplitterEvent.cs
- SqlDataSourceSelectingEventArgs.cs