Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- NetCodeGroup.cs
- PackagePartCollection.cs
- PageCodeDomTreeGenerator.cs
- HMACSHA256.cs
- MetadataAssemblyHelper.cs
- StateDesigner.Layouts.cs
- DataKey.cs
- DataObjectMethodAttribute.cs
- StateManager.cs
- StringValidator.cs
- IPHostEntry.cs
- XmlSchemaExternal.cs
- DataSourceXmlClassAttribute.cs
- TdsParserStateObject.cs
- SystemSounds.cs
- EmbossBitmapEffect.cs
- ComplexTypeEmitter.cs
- WebPart.cs
- SoapTransportImporter.cs
- TypedDataSourceCodeGenerator.cs
- StateItem.cs
- StylusLogic.cs
- NetworkStream.cs
- StateMachineHelpers.cs
- DSASignatureFormatter.cs
- XmlNodeChangedEventArgs.cs
- XmlnsCache.cs
- XPathSelectionIterator.cs
- Asn1IntegerConverter.cs
- ApplicationException.cs
- WebPartUtil.cs
- DbParameterHelper.cs
- BitmapEffectCollection.cs
- RepeatBehaviorConverter.cs
- Opcode.cs
- SoapAttributeOverrides.cs
- WsdlWriter.cs
- RtfToken.cs
- WebPartManagerInternals.cs
- ZipIOExtraFieldElement.cs
- SemanticResolver.cs
- TextBoxView.cs
- COM2ExtendedUITypeEditor.cs
- CodeMemberProperty.cs
- PolicyManager.cs
- QilDataSource.cs
- SafeRegistryHandle.cs
- MergeFilterQuery.cs
- BasicHttpMessageSecurity.cs
- IgnoreDataMemberAttribute.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- CharacterBuffer.cs
- diagnosticsswitches.cs
- ListViewSelectEventArgs.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- XmlNodeWriter.cs
- NonPrimarySelectionGlyph.cs
- EdmMember.cs
- WebBrowserNavigatedEventHandler.cs
- ServicePointManagerElement.cs
- SHA256.cs
- InternalDuplexChannelFactory.cs
- HostingEnvironmentWrapper.cs
- StreamWithDictionary.cs
- DetailsViewUpdateEventArgs.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- TreeNode.cs
- EntityParameter.cs
- HostingEnvironmentException.cs
- CommentEmitter.cs
- CompositeFontFamily.cs
- RelatedView.cs
- BaseDataBoundControlDesigner.cs
- DataRowCollection.cs
- CharacterString.cs
- BmpBitmapEncoder.cs
- Rule.cs
- PackageDigitalSignatureManager.cs
- BuildResultCache.cs
- ConversionHelper.cs
- InputLanguageProfileNotifySink.cs
- ServiceObjectContainer.cs
- DataGridViewCellPaintingEventArgs.cs
- SynchronizedKeyedCollection.cs
- PieceNameHelper.cs
- X509Extension.cs
- OperationBehaviorAttribute.cs
- DetailsViewCommandEventArgs.cs
- TextTreePropertyUndoUnit.cs
- SqlDataSourceSelectingEventArgs.cs
- OperationCanceledException.cs
- WindowsListView.cs
- AssociatedControlConverter.cs
- AxWrapperGen.cs
- XLinq.cs
- InlineUIContainer.cs
- CodeDirectiveCollection.cs
- Bits.cs
- SortQuery.cs
- OrderPreservingSpoolingTask.cs