Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / CodeBlockBuilder.cs / 1305376 / CodeBlockBuilder.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * Handle <%= ... %>, <% ... %>, <%# ... %>, <%: ... %> 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, // <%# ... %> EncodedExpression // <%: ... %> } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * Handle <%= ... %>, <% ... %>, <%# ... %>, <%: ... %> 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, // <%# ... %> EncodedExpression // <%: ... %> } } // 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
- PointAnimationUsingKeyFrames.cs
- DrawingVisualDrawingContext.cs
- SupportingTokenProviderSpecification.cs
- NavigatorOutput.cs
- XPathEmptyIterator.cs
- VariableQuery.cs
- DeflateStream.cs
- PhonemeConverter.cs
- CompositionAdorner.cs
- XhtmlBasicControlAdapter.cs
- EventWaitHandle.cs
- ServiceManager.cs
- ResXResourceSet.cs
- SQLUtility.cs
- UIElement3D.cs
- Collection.cs
- WebProxyScriptElement.cs
- DataGridViewTextBoxCell.cs
- NetMsmqSecurityElement.cs
- OpCellTreeNode.cs
- TextProperties.cs
- WebBrowserHelper.cs
- EntityKey.cs
- SynchronizationLockException.cs
- PermissionSetTriple.cs
- Profiler.cs
- DateTimeSerializationSection.cs
- Binding.cs
- HtmlButton.cs
- PlatformCulture.cs
- PhonemeConverter.cs
- PingOptions.cs
- QueryableFilterRepeater.cs
- Ref.cs
- Light.cs
- XmlHierarchyData.cs
- RuleInfoComparer.cs
- NodeLabelEditEvent.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- FormatSelectingMessageInspector.cs
- BinaryFormatterWriter.cs
- DependencyObjectValidator.cs
- StringHandle.cs
- _IPv6Address.cs
- FileChangeNotifier.cs
- TrackPointCollection.cs
- HttpCacheParams.cs
- InvalidOperationException.cs
- BidOverLoads.cs
- DurableInstance.cs
- XmlAttributeAttribute.cs
- CellTreeNodeVisitors.cs
- HttpListenerException.cs
- DoubleAnimationUsingPath.cs
- BrowserCapabilitiesFactory.cs
- ContractCodeDomInfo.cs
- MdiWindowListStrip.cs
- PointCollection.cs
- TextTreeInsertUndoUnit.cs
- ClientData.cs
- MdiWindowListStrip.cs
- LiteralControl.cs
- Label.cs
- Model3DCollection.cs
- Variable.cs
- ActivityDesignerAccessibleObject.cs
- RequestCacheEntry.cs
- SessionState.cs
- ButtonColumn.cs
- PartialTrustHelpers.cs
- XslNumber.cs
- DataError.cs
- CustomBindingElement.cs
- FormsAuthenticationModule.cs
- ContentOperations.cs
- AnyReturnReader.cs
- GZipStream.cs
- SafeEventLogWriteHandle.cs
- StringAnimationUsingKeyFrames.cs
- streamingZipPartStream.cs
- XPathConvert.cs
- FrameworkPropertyMetadata.cs
- ExtractedStateEntry.cs
- coordinatorfactory.cs
- SoapSchemaMember.cs
- LoginView.cs
- RecognizerBase.cs
- AuthenticationModulesSection.cs
- FormViewRow.cs
- RoleGroupCollection.cs
- SchemaNames.cs
- ImageList.cs
- SelectingProviderEventArgs.cs
- FontCollection.cs
- CultureSpecificCharacterBufferRange.cs
- XmlConvert.cs
- WebBrowserHelper.cs
- EntityViewGenerator.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- EntityClientCacheEntry.cs