Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / CodeBlockBuilder.cs / 1 / CodeBlockBuilder.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * Handle <%= ... %>, <% ... %> and <%# ... %> blocks * * Copyright (c) 1998 Microsoft Corporation */ namespace System.Web.UI { using System; using System.IO; internal class CodeBlockBuilder : ControlBuilder { protected CodeBlockType _blockType; protected string _content; private int _column; internal CodeBlockBuilder(CodeBlockType blockType, string content, int lineNumber, int column, VirtualPath virtualPath) { _content = content; _blockType = blockType; _column = column; Line = lineNumber; VirtualPath = virtualPath; } public override object BuildObject() { return null; } internal /*public*/ string Content { get { return _content; } } internal /*public*/ CodeBlockType BlockType { get { return _blockType;} } internal int Column { get { return _column; } } } internal enum CodeBlockType { Code, // <% ... %> Expression, // <%= ... %> DataBinding // <%# ... %> } } // 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
- BaseTreeIterator.cs
- EntryPointNotFoundException.cs
- LineGeometry.cs
- StorageAssociationTypeMapping.cs
- DataPagerFieldCollection.cs
- CssTextWriter.cs
- recordstatescratchpad.cs
- HtmlInputSubmit.cs
- DebugManager.cs
- GridSplitter.cs
- DataControlFieldCollection.cs
- CacheChildrenQuery.cs
- EventLogPermissionAttribute.cs
- DataTableMapping.cs
- XmlObjectSerializerReadContextComplex.cs
- DivideByZeroException.cs
- PassportIdentity.cs
- GridViewUpdateEventArgs.cs
- RowsCopiedEventArgs.cs
- TypeInitializationException.cs
- OfTypeExpression.cs
- XamlPathDataSerializer.cs
- Odbc32.cs
- PrivilegeNotHeldException.cs
- SystemFonts.cs
- XmlLanguageConverter.cs
- ProgressBarAutomationPeer.cs
- ChannelSinkStacks.cs
- SimpleApplicationHost.cs
- Bezier.cs
- DockProviderWrapper.cs
- CodeExporter.cs
- StrokeCollectionDefaultValueFactory.cs
- MergeLocalizationDirectives.cs
- TrustLevelCollection.cs
- SingleAnimationUsingKeyFrames.cs
- DrawingImage.cs
- WebRequestModulesSection.cs
- HostProtectionException.cs
- ColumnReorderedEventArgs.cs
- WebPartVerb.cs
- SelectionChangedEventArgs.cs
- ExpressionLexer.cs
- WebResourceAttribute.cs
- CreateUserErrorEventArgs.cs
- CryptographicAttribute.cs
- SkewTransform.cs
- EncodingInfo.cs
- KnownTypesProvider.cs
- WsatConfiguration.cs
- TemplateColumn.cs
- RC2CryptoServiceProvider.cs
- DocumentAutomationPeer.cs
- ManagementException.cs
- PriorityRange.cs
- SkewTransform.cs
- TextMarkerSource.cs
- BitmapCodecInfoInternal.cs
- DefaultMemberAttribute.cs
- HttpInputStream.cs
- BitmapSizeOptions.cs
- FormsAuthenticationCredentials.cs
- MediaPlayerState.cs
- DoubleUtil.cs
- TemplateControlBuildProvider.cs
- DelegateSerializationHolder.cs
- DeflateStream.cs
- MDIControlStrip.cs
- Application.cs
- MetaTableHelper.cs
- EntityWrapperFactory.cs
- TlsnegoTokenProvider.cs
- TypeToken.cs
- PassportIdentity.cs
- PnrpPeerResolverBindingElement.cs
- KeyGestureValueSerializer.cs
- _FtpControlStream.cs
- AnimationTimeline.cs
- CatalogZoneDesigner.cs
- MenuItemCollection.cs
- XamlSerializerUtil.cs
- CellQuery.cs
- HwndStylusInputProvider.cs
- ServerProtocol.cs
- CodeSubDirectory.cs
- CallbackValidator.cs
- ActivityXRefConverter.cs
- IProducerConsumerCollection.cs
- AttributedMetaModel.cs
- SubclassTypeValidator.cs
- ProvideValueServiceProvider.cs
- DataObject.cs
- PointF.cs
- SByteStorage.cs
- KeyPressEvent.cs
- LinkConverter.cs
- XmlILCommand.cs
- SqlWebEventProvider.cs
- _FtpDataStream.cs
- Span.cs