Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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 // <%# ... %> } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ImmutableObjectAttribute.cs
- SystemWebExtensionsSectionGroup.cs
- WindowsTab.cs
- FormatterConverter.cs
- DefaultBinder.cs
- SettingsPropertyValue.cs
- XmlSerializationGeneratedCode.cs
- Process.cs
- WbemProvider.cs
- HelpOperationInvoker.cs
- CompositeDataBoundControl.cs
- TemplateAction.cs
- ToolboxItemAttribute.cs
- ReverseComparer.cs
- TransformedBitmap.cs
- ClientFormsIdentity.cs
- AppDomainUnloadedException.cs
- DataMemberListEditor.cs
- ResourceAttributes.cs
- CodeGen.cs
- SafeArrayTypeMismatchException.cs
- Delegate.cs
- DropSourceBehavior.cs
- _SecureChannel.cs
- MaterialGroup.cs
- UIElementCollection.cs
- XmlText.cs
- DataGridViewElement.cs
- OdbcConnection.cs
- ComponentFactoryHelpers.cs
- InputLanguageSource.cs
- XPathDocument.cs
- Triplet.cs
- NativeMethods.cs
- Mutex.cs
- MatchingStyle.cs
- CorrelationManager.cs
- MetadataUtil.cs
- AutomationElement.cs
- NotifyCollectionChangedEventArgs.cs
- CookieHandler.cs
- SpellerInterop.cs
- WindowsFormsHelpers.cs
- WindowsComboBox.cs
- HttpResponse.cs
- WindowsIdentity.cs
- DurableErrorHandler.cs
- ScrollEventArgs.cs
- XPathMessageContext.cs
- DefaultTextStore.cs
- ListSortDescription.cs
- TextAnchor.cs
- DefaultHttpHandler.cs
- IncomingWebRequestContext.cs
- SHA256Managed.cs
- SoapTypeAttribute.cs
- SoapReflectionImporter.cs
- SessionStateModule.cs
- UniqueIdentifierService.cs
- ConstantSlot.cs
- ContactManager.cs
- SqlMethodTransformer.cs
- OLEDB_Enum.cs
- EndPoint.cs
- UnsafeMethods.cs
- RegexCapture.cs
- Guid.cs
- PointCollectionConverter.cs
- HashAlgorithm.cs
- SharedMemory.cs
- XmlNamespaceMapping.cs
- ConnectionPoint.cs
- DbDataSourceEnumerator.cs
- HttpServerProtocol.cs
- CatalogZoneDesigner.cs
- ComContractElementCollection.cs
- CorruptStoreException.cs
- SqlClientWrapperSmiStreamChars.cs
- ReadOnlyTernaryTree.cs
- WorkflowQueuingService.cs
- Exceptions.cs
- CacheRequest.cs
- UInt32Storage.cs
- input.cs
- RangeValueProviderWrapper.cs
- GeneralTransform3D.cs
- RangeValidator.cs
- DesignTimeTemplateParser.cs
- FloatUtil.cs
- ClassicBorderDecorator.cs
- URIFormatException.cs
- ThreadTrace.cs
- ToolstripProfessionalRenderer.cs
- MethodExpr.cs
- PrintingPermissionAttribute.cs
- XmlHierarchyData.cs
- ProjectionCamera.cs
- ToolBarDesigner.cs
- DataObjectPastingEventArgs.cs
- XmlCodeExporter.cs