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
- UnitySerializationHolder.cs
- ScrollChangedEventArgs.cs
- RotateTransform3D.cs
- ListenDesigner.cs
- TableLayoutPanelResizeGlyph.cs
- WebServiceTypeData.cs
- Set.cs
- ListControlConvertEventArgs.cs
- PolicyStatement.cs
- WhileDesigner.xaml.cs
- InstallerTypeAttribute.cs
- NamedElement.cs
- TCPListener.cs
- ServiceNotStartedException.cs
- ObjectHandle.cs
- DefaultTypeArgumentAttribute.cs
- ValidationErrorInfo.cs
- InputChannelBinder.cs
- SqlTypeConverter.cs
- ExtensionDataReader.cs
- InProcStateClientManager.cs
- BitConverter.cs
- NativeWindow.cs
- CounterCreationDataCollection.cs
- SiblingIterators.cs
- UserControlCodeDomTreeGenerator.cs
- AVElementHelper.cs
- Renderer.cs
- EventHandlers.cs
- StylusPlugin.cs
- TextBox.cs
- MemberAccessException.cs
- Block.cs
- TextUtf8RawTextWriter.cs
- ScriptResourceMapping.cs
- HeaderCollection.cs
- NodeFunctions.cs
- ServiceBusyException.cs
- UInt64.cs
- ConnectionPoint.cs
- ColorContextHelper.cs
- CodeDirectoryCompiler.cs
- ModuleBuilder.cs
- LinkClickEvent.cs
- ProjectionAnalyzer.cs
- Attachment.cs
- Solver.cs
- ConditionalAttribute.cs
- Accessors.cs
- NameTable.cs
- KeyboardNavigation.cs
- ISAPIApplicationHost.cs
- SystemNetworkInterface.cs
- DrawingContextDrawingContextWalker.cs
- StringPropertyBuilder.cs
- EntryPointNotFoundException.cs
- CodeTypeDelegate.cs
- OutputScopeManager.cs
- TextEffect.cs
- XmlSchemaDocumentation.cs
- ViewKeyConstraint.cs
- SchemaImporter.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- CharacterBuffer.cs
- _ListenerResponseStream.cs
- CommonXSendMessage.cs
- DbCommandTree.cs
- CompressedStack.cs
- EdgeProfileValidation.cs
- assemblycache.cs
- SemaphoreFullException.cs
- RuleSettings.cs
- BrowserDefinitionCollection.cs
- CodeIndexerExpression.cs
- RemotingSurrogateSelector.cs
- RadioButtonBaseAdapter.cs
- COM2ExtendedUITypeEditor.cs
- CompilerGeneratedAttribute.cs
- FrameworkElement.cs
- Multiply.cs
- XmlStringTable.cs
- XmlSchemaExternal.cs
- DataServiceRequestException.cs
- XPathItem.cs
- TextServicesDisplayAttribute.cs
- Transform3D.cs
- ObjectStateEntry.cs
- Int32.cs
- IriParsingElement.cs
- AsymmetricKeyExchangeDeformatter.cs
- CultureTable.cs
- WmlTextBoxAdapter.cs
- EmptyEnumerator.cs
- ProxyHelper.cs
- CodePageEncoding.cs
- XamlPathDataSerializer.cs
- AuthorizationRuleCollection.cs
- PropertyPushdownHelper.cs
- IisTraceListener.cs
- ObjectRef.cs