Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeSnippetCompileUnit.cs / 1305376 / CodeSnippetCompileUnit.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeSnippetCompileUnit : CodeCompileUnit { private string value; private CodeLinePragma linePragma; public CodeSnippetCompileUnit() { } public CodeSnippetCompileUnit(string value) { Value = value; } ////// Represents a snippet block of code. /// ////// public string Value { get { return (value == null) ? string.Empty : value; } set { this.value = value; } } ////// Gets or sets /// the snippet /// text of the code block to represent. /// ////// public CodeLinePragma LinePragma { get { return linePragma; } set { linePragma = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// The line the code block starts on. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeSnippetCompileUnit : CodeCompileUnit { private string value; private CodeLinePragma linePragma; public CodeSnippetCompileUnit() { } public CodeSnippetCompileUnit(string value) { Value = value; } ////// Represents a snippet block of code. /// ////// public string Value { get { return (value == null) ? string.Empty : value; } set { this.value = value; } } ////// Gets or sets /// the snippet /// text of the code block to represent. /// ////// public CodeLinePragma LinePragma { get { return linePragma; } set { linePragma = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// The line the code block starts on. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- _AutoWebProxyScriptEngine.cs
- GraphicsContainer.cs
- MessageBox.cs
- Run.cs
- Choices.cs
- XLinq.cs
- COM2PictureConverter.cs
- InProcStateClientManager.cs
- PropertyManager.cs
- CalculatedColumn.cs
- CacheOutputQuery.cs
- TemplateBindingExpressionConverter.cs
- util.cs
- NetworkInterface.cs
- CustomCategoryAttribute.cs
- ActivityXRefConverter.cs
- GeneralTransform3DTo2D.cs
- XmlWhitespace.cs
- SessionPageStateSection.cs
- BigInt.cs
- AttributeProviderAttribute.cs
- ThemeableAttribute.cs
- DataGridViewCellValidatingEventArgs.cs
- formatstringdialog.cs
- ProxyWebPart.cs
- DataFormats.cs
- InputScopeManager.cs
- FontFamily.cs
- LayoutUtils.cs
- Query.cs
- CodeDelegateInvokeExpression.cs
- XmlAttribute.cs
- TextBlock.cs
- EventLogPermissionEntryCollection.cs
- DetailsViewUpdateEventArgs.cs
- GridViewEditEventArgs.cs
- TextEffect.cs
- UserControl.cs
- versioninfo.cs
- ExpressionParser.cs
- WebPartConnectionCollection.cs
- FocusTracker.cs
- IChannel.cs
- DateTimeFormatInfo.cs
- HttpSysSettings.cs
- DefaultMemberAttribute.cs
- ObjectPersistData.cs
- SuppressMergeCheckAttribute.cs
- ConnectionStringSettingsCollection.cs
- AggregateNode.cs
- DataException.cs
- XmlWriterSettings.cs
- ChannelServices.cs
- EtwTrackingParticipant.cs
- CachedTypeface.cs
- OraclePermission.cs
- OdbcPermission.cs
- XmlMemberMapping.cs
- DecoderFallback.cs
- RuntimeConfig.cs
- PageAsyncTaskManager.cs
- PointCollection.cs
- LocalServiceSecuritySettingsElement.cs
- HttpRuntimeSection.cs
- SQLBytes.cs
- DbConnectionOptions.cs
- XmlSchemaException.cs
- TabControl.cs
- Types.cs
- ItemsControl.cs
- AlignmentXValidation.cs
- Compilation.cs
- HtmlShimManager.cs
- TraceRecord.cs
- EntityDataSourceStatementEditorForm.cs
- SuppressMergeCheckAttribute.cs
- CellLabel.cs
- InkCanvas.cs
- Screen.cs
- SafeEventLogReadHandle.cs
- LineServicesCallbacks.cs
- HashHelpers.cs
- TypeDelegator.cs
- ArrayWithOffset.cs
- LinearGradientBrush.cs
- CheckBoxBaseAdapter.cs
- SmtpSection.cs
- TreeNodeStyleCollection.cs
- TypeDescriptionProviderAttribute.cs
- TextTreeUndoUnit.cs
- RayHitTestParameters.cs
- CodeMemberField.cs
- MenuRendererClassic.cs
- ParsedRoute.cs
- ViewEventArgs.cs
- RenderContext.cs
- ResourcePart.cs
- XmlTypeMapping.cs
- PointLightBase.cs
- ExceptionUtil.cs