Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / CodeDOM / CodeSnippetCompileUnit.cs / 1 / CodeSnippetCompileUnit.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ 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. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ 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
- DataRelationPropertyDescriptor.cs
- BookmarkList.cs
- ElementNotEnabledException.cs
- SignatureToken.cs
- DocumentApplicationJournalEntry.cs
- LinqTreeNodeEvaluator.cs
- httpstaticobjectscollection.cs
- DetailsViewPageEventArgs.cs
- SmiGettersStream.cs
- WindowsServiceCredential.cs
- TreeNodeStyleCollection.cs
- PointAnimationUsingKeyFrames.cs
- AstNode.cs
- Grammar.cs
- StateMachineHistory.cs
- TextDocumentView.cs
- ValueSerializer.cs
- DetailsView.cs
- TagPrefixAttribute.cs
- PrintEvent.cs
- RectAnimationUsingKeyFrames.cs
- IsolatedStorageException.cs
- PartialTrustHelpers.cs
- WebEvents.cs
- RenderData.cs
- InvalidateEvent.cs
- CfgRule.cs
- ParagraphVisual.cs
- ExpressionParser.cs
- DependencyProperty.cs
- HtmlWindow.cs
- AdornerDecorator.cs
- GridViewPageEventArgs.cs
- Panel.cs
- EntityViewGenerationAttribute.cs
- Binding.cs
- SqlUdtInfo.cs
- OleStrCAMarshaler.cs
- XmlCodeExporter.cs
- BaseCollection.cs
- HtmlControlPersistable.cs
- HttpAsyncResult.cs
- LabelInfo.cs
- ListItemCollection.cs
- XmlSerializerSection.cs
- ClonableStack.cs
- SortKey.cs
- DataGridViewTopLeftHeaderCell.cs
- MouseOverProperty.cs
- IDispatchConstantAttribute.cs
- DateRangeEvent.cs
- Number.cs
- Package.cs
- AsyncWaitHandle.cs
- LinqDataSourceInsertEventArgs.cs
- OleDbException.cs
- CustomCategoryAttribute.cs
- Evidence.cs
- ConfigurationPermission.cs
- SplitterDesigner.cs
- MergeFilterQuery.cs
- GraphicsContext.cs
- SourceChangedEventArgs.cs
- DataGridColumnReorderingEventArgs.cs
- DynamicMethod.cs
- Camera.cs
- XsdValidatingReader.cs
- AsymmetricKeyExchangeFormatter.cs
- FontInfo.cs
- XmlSchemaDatatype.cs
- DisplayMemberTemplateSelector.cs
- StyleTypedPropertyAttribute.cs
- ClientRuntimeConfig.cs
- StretchValidation.cs
- XsltFunctions.cs
- BypassElement.cs
- SerialStream.cs
- ForeignKeyFactory.cs
- XmlSchemaSequence.cs
- IEnumerable.cs
- AspNetSynchronizationContext.cs
- CodeSnippetTypeMember.cs
- BamlBinaryWriter.cs
- ObjectListCommandEventArgs.cs
- CharConverter.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ProcessInfo.cs
- ToggleProviderWrapper.cs
- ResourcesGenerator.cs
- xmlfixedPageInfo.cs
- ThreadPoolTaskScheduler.cs
- LowerCaseStringConverter.cs
- NonSerializedAttribute.cs
- MarkupObject.cs
- ValidationPropertyAttribute.cs
- WebPartConnection.cs
- HttpConfigurationSystem.cs
- AsyncPostBackTrigger.cs
- __FastResourceComparer.cs
- FixedTextPointer.cs