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
- QueryResultOp.cs
- DesignerAttribute.cs
- TemplateXamlParser.cs
- ItemCheckEvent.cs
- RecognizerStateChangedEventArgs.cs
- StringStorage.cs
- XmlTypeMapping.cs
- SynchronizationHandlesCodeDomSerializer.cs
- StrongNameKeyPair.cs
- FillErrorEventArgs.cs
- UrlMappingsSection.cs
- HandledMouseEvent.cs
- WebPartEditorCancelVerb.cs
- dbenumerator.cs
- ExpressionReplacer.cs
- XmlQueryStaticData.cs
- XamlFigureLengthSerializer.cs
- FrugalList.cs
- CancellationTokenRegistration.cs
- ThicknessKeyFrameCollection.cs
- RegisterResponseInfo.cs
- EntityDataSourceView.cs
- parserscommon.cs
- NavigationPropertyAccessor.cs
- SQLBytes.cs
- EraserBehavior.cs
- PtsContext.cs
- DesignParameter.cs
- _CommandStream.cs
- TimeSpanMinutesConverter.cs
- Missing.cs
- GridViewSortEventArgs.cs
- CngUIPolicy.cs
- UnsafeCollabNativeMethods.cs
- DelegatedStream.cs
- TimeZone.cs
- HostVisual.cs
- MetadataArtifactLoaderComposite.cs
- WizardPanel.cs
- DataGridSortCommandEventArgs.cs
- FlowDecision.cs
- HideDisabledControlAdapter.cs
- SplitterCancelEvent.cs
- CaretElement.cs
- ObjectListSelectEventArgs.cs
- PnrpPeerResolverElement.cs
- InitializerFacet.cs
- NativeCompoundFileAPIs.cs
- SmiRequestExecutor.cs
- PropertyChangedEventManager.cs
- GridViewSelectEventArgs.cs
- RuntimeHelpers.cs
- HttpHandlerActionCollection.cs
- EventSinkActivityDesigner.cs
- StringValueSerializer.cs
- Stack.cs
- XmlBufferReader.cs
- FocusTracker.cs
- XNameConverter.cs
- OrderingQueryOperator.cs
- FloatSumAggregationOperator.cs
- SecurityVerifiedMessage.cs
- SqlDataSourceEnumerator.cs
- InputScope.cs
- HostingEnvironment.cs
- SqlTriggerContext.cs
- DataContractSet.cs
- BoolExpression.cs
- ToolboxDataAttribute.cs
- MSAANativeProvider.cs
- ScriptRegistrationManager.cs
- DefaultValueAttribute.cs
- NameValuePair.cs
- IApplicationTrustManager.cs
- SqlGatherProducedAliases.cs
- CollectionContainer.cs
- TypeValidationEventArgs.cs
- PenLineJoinValidation.cs
- BrowserDefinition.cs
- FontConverter.cs
- XmlSchemaComplexContent.cs
- MatrixCamera.cs
- AutomationIdentifierGuids.cs
- MonthCalendar.cs
- _ConnectionGroup.cs
- NavigationWindowAutomationPeer.cs
- InterleavedZipPartStream.cs
- ReadOnlyState.cs
- Utilities.cs
- LogAppendAsyncResult.cs
- RegexInterpreter.cs
- RegexRunnerFactory.cs
- TypeToken.cs
- PartialCachingControl.cs
- ProfileSection.cs
- MouseCaptureWithinProperty.cs
- RuntimeHandles.cs
- SiteMapNodeCollection.cs
- X509ChainElement.cs
- ActiveDocumentEvent.cs