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
- ImageProxy.cs
- DataStreamFromComStream.cs
- ProcessHostFactoryHelper.cs
- ClockGroup.cs
- X509UI.cs
- SoapCommonClasses.cs
- SmiRequestExecutor.cs
- MenuItem.cs
- IDQuery.cs
- ProfileParameter.cs
- RequiredFieldValidator.cs
- ScopelessEnumAttribute.cs
- DataTableReader.cs
- ColumnWidthChangedEvent.cs
- TimelineGroup.cs
- SqlDataSourceEnumerator.cs
- CompressionTransform.cs
- EDesignUtil.cs
- WindowsTokenRoleProvider.cs
- DuplicateContext.cs
- XmlnsCache.cs
- PermissionSet.cs
- PartitionedDataSource.cs
- BufferedGraphicsContext.cs
- XPathItem.cs
- EventLogWatcher.cs
- CustomTypeDescriptor.cs
- _BaseOverlappedAsyncResult.cs
- HttpListenerException.cs
- StrongNameMembershipCondition.cs
- ClientSettingsSection.cs
- SystemGatewayIPAddressInformation.cs
- ObjectDataSourceSelectingEventArgs.cs
- IdnMapping.cs
- Compiler.cs
- HttpDateParse.cs
- IListConverters.cs
- UnsafeNetInfoNativeMethods.cs
- DesignerActionItem.cs
- ImportStoreException.cs
- CodeArgumentReferenceExpression.cs
- EnumBuilder.cs
- BitmapSourceSafeMILHandle.cs
- DeferredBinaryDeserializerExtension.cs
- ManagementPath.cs
- Misc.cs
- DBSchemaRow.cs
- WindowsScrollBar.cs
- XmlDataCollection.cs
- DBConcurrencyException.cs
- DataServices.cs
- WebBrowserNavigatedEventHandler.cs
- NoneExcludedImageIndexConverter.cs
- UpdatableWrapper.cs
- GridViewPageEventArgs.cs
- DependencyObjectPropertyDescriptor.cs
- ApplicationInfo.cs
- InstanceDataCollection.cs
- FixedSOMTable.cs
- HtmlHead.cs
- loginstatus.cs
- ErrorRuntimeConfig.cs
- BooleanFunctions.cs
- ObjectStateEntryDbDataRecord.cs
- QilList.cs
- MoveSizeWinEventHandler.cs
- IRCollection.cs
- Propagator.JoinPropagator.cs
- SqlProfileProvider.cs
- DataGridViewLayoutData.cs
- DataGridViewColumnTypeEditor.cs
- SimpleWebHandlerParser.cs
- ContractMapping.cs
- XsltException.cs
- HMACSHA256.cs
- FileSystemWatcher.cs
- FontSizeConverter.cs
- TypeGeneratedEventArgs.cs
- EventlogProvider.cs
- QilLoop.cs
- IISUnsafeMethods.cs
- RemotingAttributes.cs
- SafeTimerHandle.cs
- GenericTypeParameterBuilder.cs
- Soap.cs
- HtmlInputRadioButton.cs
- StylusPointProperties.cs
- PartBasedPackageProperties.cs
- Number.cs
- CurrentChangingEventArgs.cs
- WebPartUserCapability.cs
- GroupStyle.cs
- _NtlmClient.cs
- PriorityItem.cs
- HostedHttpRequestAsyncResult.cs
- MenuTracker.cs
- QilReference.cs
- BitmapDecoder.cs
- AuthenticatingEventArgs.cs
- ExpandSegmentCollection.cs