Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // //----------------------------------------------------------------------------- /* * 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MimeMapping.cs
- HyperLinkStyle.cs
- ListView.cs
- ComboBox.cs
- UpdateExpressionVisitor.cs
- GlyphingCache.cs
- InteropAutomationProvider.cs
- HtmlMeta.cs
- RuntimeHandles.cs
- SelectionItemProviderWrapper.cs
- ZipIOExtraFieldPaddingElement.cs
- SqlUdtInfo.cs
- CommandID.cs
- UpdateEventArgs.cs
- Camera.cs
- ActivityMarkupSerializationProvider.cs
- WebPartUserCapability.cs
- Dynamic.cs
- BindingContext.cs
- HttpClientCredentialType.cs
- FamilyMap.cs
- DivideByZeroException.cs
- WinInetCache.cs
- VisualProxy.cs
- TypeUtils.cs
- AttributeEmitter.cs
- Switch.cs
- JobStaple.cs
- RankException.cs
- ReadOnlyCollection.cs
- BrowserInteropHelper.cs
- Soap.cs
- BooleanConverter.cs
- SelectionRange.cs
- InfoCardSchemas.cs
- AccessDataSourceDesigner.cs
- VirtualDirectoryMapping.cs
- SchemaElementLookUpTable.cs
- CellConstant.cs
- TextServicesCompartment.cs
- versioninfo.cs
- NonBatchDirectoryCompiler.cs
- EntityDataSourceDataSelection.cs
- TemplateBaseAction.cs
- TextBlockAutomationPeer.cs
- HwndProxyElementProvider.cs
- NaturalLanguageHyphenator.cs
- ExtentCqlBlock.cs
- PropertyChangingEventArgs.cs
- StandardBindingImporter.cs
- KeysConverter.cs
- StopStoryboard.cs
- DescendentsWalker.cs
- PackageDigitalSignatureManager.cs
- RegisteredScript.cs
- BidOverLoads.cs
- SiteMapNodeItemEventArgs.cs
- CssTextWriter.cs
- MouseWheelEventArgs.cs
- DetailsViewDeletedEventArgs.cs
- Marshal.cs
- HideDisabledControlAdapter.cs
- PhysicalFontFamily.cs
- HostingPreferredMapPath.cs
- NoneExcludedImageIndexConverter.cs
- ProcessThreadCollection.cs
- StateBag.cs
- BinaryFormatterWriter.cs
- SetterBaseCollection.cs
- GenericIdentity.cs
- TextFindEngine.cs
- OdbcUtils.cs
- ObjectTypeMapping.cs
- PropertyAccessVisitor.cs
- InvokePattern.cs
- DataGridRowHeader.cs
- MultiBinding.cs
- XmlAtomicValue.cs
- KeyboardDevice.cs
- SafeBuffer.cs
- BindingContext.cs
- ResXBuildProvider.cs
- GroupStyle.cs
- ValidationError.cs
- BookmarkResumptionRecord.cs
- StackOverflowException.cs
- ValidationSummaryDesigner.cs
- SoapTypeAttribute.cs
- MaterialGroup.cs
- Keywords.cs
- DeploymentExceptionMapper.cs
- TransformConverter.cs
- PartManifestEntry.cs
- InputBinder.cs
- RegionIterator.cs
- DataGridColumnHeaderCollection.cs
- SqlException.cs
- ResourceManager.cs
- AssociationTypeEmitter.cs
- DBConcurrencyException.cs