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
- PersonalizationProviderHelper.cs
- SqlExpander.cs
- SpAudioStreamWrapper.cs
- GenericUriParser.cs
- EUCJPEncoding.cs
- SymDocumentType.cs
- XpsS0ValidatingLoader.cs
- KeyInterop.cs
- DecimalAnimationUsingKeyFrames.cs
- EmissiveMaterial.cs
- ChangeInterceptorAttribute.cs
- _UncName.cs
- ManipulationPivot.cs
- SQLByte.cs
- ApplicationServiceManager.cs
- AppDomainAttributes.cs
- VBCodeProvider.cs
- TokenizerHelper.cs
- SelectedDatesCollection.cs
- ArrayExtension.cs
- TaiwanCalendar.cs
- HttpCapabilitiesEvaluator.cs
- ConstraintStruct.cs
- ModelPropertyCollectionImpl.cs
- NotifyParentPropertyAttribute.cs
- XmlnsPrefixAttribute.cs
- ResourceSet.cs
- SendContent.cs
- AccessedThroughPropertyAttribute.cs
- StringWriter.cs
- TransactionContext.cs
- regiisutil.cs
- CompatibleComparer.cs
- ImplicitInputBrush.cs
- PolyLineSegmentFigureLogic.cs
- PageCatalogPart.cs
- ImageCreator.cs
- ScrollableControl.cs
- ArraySortHelper.cs
- TdsParserHelperClasses.cs
- ParseChildrenAsPropertiesAttribute.cs
- BamlRecordHelper.cs
- MimeParameterWriter.cs
- ParallelEnumerableWrapper.cs
- MgmtConfigurationRecord.cs
- FunctionNode.cs
- ExpressionBinding.cs
- Lasso.cs
- CacheSection.cs
- WebPartConnectionsCloseVerb.cs
- TextLineResult.cs
- MonthChangedEventArgs.cs
- UiaCoreApi.cs
- DefaultAssemblyResolver.cs
- ToolStripDropDownButton.cs
- TreeViewItemAutomationPeer.cs
- GeneralTransform3DTo2D.cs
- DataServiceProcessingPipeline.cs
- ScriptHandlerFactory.cs
- AppDomainAttributes.cs
- FixedHyperLink.cs
- OracleDataReader.cs
- ConfigXmlAttribute.cs
- InteropBitmapSource.cs
- AliasGenerator.cs
- SafeCancelMibChangeNotify.cs
- WebBrowser.cs
- Identity.cs
- XmlSequenceWriter.cs
- IncrementalCompileAnalyzer.cs
- SharedPersonalizationStateInfo.cs
- BaseParser.cs
- BrowserDefinitionCollection.cs
- ExtensionWindowHeader.cs
- SafeFileMappingHandle.cs
- DocumentViewer.cs
- XamlPoint3DCollectionSerializer.cs
- SystemIPInterfaceProperties.cs
- SQLInt16.cs
- RtfToken.cs
- XmlChildNodes.cs
- ReadOnlyKeyedCollection.cs
- ClientApiGenerator.cs
- SecurityDescriptor.cs
- StringPropertyBuilder.cs
- UdpChannelListener.cs
- RTLAwareMessageBox.cs
- PrintDialogDesigner.cs
- CompilerGeneratedAttribute.cs
- HttpException.cs
- XamlSerializer.cs
- ReadWriteObjectLock.cs
- ShadowGlyph.cs
- ResXFileRef.cs
- UnsafeNativeMethods.cs
- SchemaImporterExtension.cs
- Helper.cs
- DataColumn.cs
- FragmentQuery.cs
- _HeaderInfo.cs