Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- URI.cs
- SchemaMapping.cs
- InlinedAggregationOperatorEnumerator.cs
- ServiceModelEnumValidator.cs
- IndexerNameAttribute.cs
- Mutex.cs
- GridErrorDlg.cs
- ToolStripStatusLabel.cs
- OracleInternalConnection.cs
- SBCSCodePageEncoding.cs
- RelatedCurrencyManager.cs
- ActivityCodeDomSerializationManager.cs
- StringArrayConverter.cs
- listitem.cs
- ComponentEvent.cs
- IgnoreDataMemberAttribute.cs
- ZipIOLocalFileBlock.cs
- SamlSecurityToken.cs
- SpellerInterop.cs
- Sql8ConformanceChecker.cs
- SaveRecipientRequest.cs
- ZipIOLocalFileDataDescriptor.cs
- XamlReaderConstants.cs
- SystemIPv6InterfaceProperties.cs
- WindowsAuthenticationModule.cs
- CompressedStack.cs
- BooleanFacetDescriptionElement.cs
- ResXBuildProvider.cs
- _KerberosClient.cs
- InputScopeNameConverter.cs
- AndCondition.cs
- _UriTypeConverter.cs
- infer.cs
- XhtmlTextWriter.cs
- ListBoxItemWrapperAutomationPeer.cs
- WindowPattern.cs
- ProvidersHelper.cs
- AbsoluteQuery.cs
- EventProviderTraceListener.cs
- TextFindEngine.cs
- HttpVersion.cs
- KnownTypes.cs
- StringToken.cs
- DataListItemEventArgs.cs
- HtmlInputReset.cs
- ErrorStyle.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- RepeatButtonAutomationPeer.cs
- BitmapEffectDrawingContextWalker.cs
- DesignConnectionCollection.cs
- SettingsProperty.cs
- SchemaDeclBase.cs
- CodeTypeMember.cs
- VoiceObjectToken.cs
- ScriptControl.cs
- WebRequest.cs
- ExtendedProtectionPolicyTypeConverter.cs
- COM2Enum.cs
- LicenseContext.cs
- DataColumnSelectionConverter.cs
- CheckBoxList.cs
- DataBinder.cs
- DataControlLinkButton.cs
- RSAPKCS1SignatureDeformatter.cs
- InputLanguageCollection.cs
- ObjectParameterCollection.cs
- ContextStack.cs
- ConsumerConnectionPoint.cs
- ListViewUpdatedEventArgs.cs
- DataPagerFieldItem.cs
- StateMachineWorkflowInstance.cs
- TextShapeableCharacters.cs
- DataSourceExpressionCollection.cs
- Predicate.cs
- RoleManagerSection.cs
- EntityParameter.cs
- StylusShape.cs
- LogExtentCollection.cs
- HandlerBase.cs
- ComponentDispatcherThread.cs
- SoapFormatter.cs
- SqlCommand.cs
- SimpleWebHandlerParser.cs
- handlecollector.cs
- EditorPart.cs
- HWStack.cs
- PagePropertiesChangingEventArgs.cs
- CharacterHit.cs
- WebBaseEventKeyComparer.cs
- BaseCollection.cs
- Attributes.cs
- UnmanagedMemoryStream.cs
- DbProviderFactories.cs
- XmlMessageFormatter.cs
- GridViewColumn.cs
- SemaphoreSecurity.cs
- UntrustedRecipientException.cs
- DynamicHyperLink.cs
- TypeLibConverter.cs
- XsltCompileContext.cs