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
- ListViewPagedDataSource.cs
- ThemeableAttribute.cs
- Win32KeyboardDevice.cs
- RelationshipDetailsRow.cs
- EnvelopedPkcs7.cs
- DetailsViewPagerRow.cs
- ConfigurationPropertyCollection.cs
- DocumentPageView.cs
- XamlTypeMapper.cs
- SqlDependency.cs
- KeyGestureConverter.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- TdsParser.cs
- SiteMapPath.cs
- CompilationUnit.cs
- SocketPermission.cs
- DataFormat.cs
- ApplicationCommands.cs
- ToolboxComponentsCreatedEventArgs.cs
- CancelEventArgs.cs
- System.Data_BID.cs
- XPathDescendantIterator.cs
- Nodes.cs
- ArrayElementGridEntry.cs
- DataListCommandEventArgs.cs
- MatrixTransform3D.cs
- ConnectionStringsExpressionBuilder.cs
- DrawItemEvent.cs
- WebPageTraceListener.cs
- StrokeIntersection.cs
- GeometryDrawing.cs
- ElementFactory.cs
- Point3DCollection.cs
- TdsParserSessionPool.cs
- DataList.cs
- XpsSerializationManager.cs
- ScriptingScriptResourceHandlerSection.cs
- CodePageEncoding.cs
- Compress.cs
- PathSegmentCollection.cs
- LOSFormatter.cs
- CmsUtils.cs
- InputProcessorProfiles.cs
- XmlnsDefinitionAttribute.cs
- HtmlMeta.cs
- SqlProviderServices.cs
- CodeExpressionStatement.cs
- TextUtf8RawTextWriter.cs
- TextRangeEditLists.cs
- CallbackValidator.cs
- PersistenceMetadataNamespace.cs
- streamingZipPartStream.cs
- SingleResultAttribute.cs
- DrawingBrush.cs
- ParameterModifier.cs
- _HeaderInfoTable.cs
- DataViewSettingCollection.cs
- MenuAdapter.cs
- HandlerBase.cs
- ListChunk.cs
- PropertyIdentifier.cs
- SerializationStore.cs
- XamlSerializer.cs
- XmlNamespaceMapping.cs
- StateItem.cs
- GlyphRunDrawing.cs
- ZoomPercentageConverter.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- VBIdentifierName.cs
- Configuration.cs
- HTMLTextWriter.cs
- CodeDomConfigurationHandler.cs
- WebPartCatalogAddVerb.cs
- PriorityChain.cs
- SubMenuStyleCollection.cs
- RSAOAEPKeyExchangeFormatter.cs
- ModelFunctionTypeElement.cs
- UnicastIPAddressInformationCollection.cs
- CacheEntry.cs
- DataGridTable.cs
- PackageStore.cs
- ConfigurationSectionGroupCollection.cs
- DrawingState.cs
- IDReferencePropertyAttribute.cs
- PrinterUnitConvert.cs
- TextComposition.cs
- OpenFileDialog.cs
- XmlNamespaceMappingCollection.cs
- elementinformation.cs
- FrameworkPropertyMetadata.cs
- SequentialWorkflowRootDesigner.cs
- DisplayInformation.cs
- ControlPaint.cs
- AssemblyInfo.cs
- TypeForwardedToAttribute.cs
- CfgSemanticTag.cs
- DataTable.cs
- ButtonFlatAdapter.cs
- Int16AnimationBase.cs