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
- PropertyRecord.cs
- LogExtent.cs
- ColumnMapTranslator.cs
- DetailsViewUpdateEventArgs.cs
- LocalFileSettingsProvider.cs
- WebPartConnectionsEventArgs.cs
- compensatingcollection.cs
- SoapProtocolReflector.cs
- WCFBuildProvider.cs
- DBParameter.cs
- OracleTransaction.cs
- SQLInt16.cs
- ConnectionOrientedTransportBindingElement.cs
- TextParagraphProperties.cs
- ExclusiveTcpListener.cs
- BindingContext.cs
- GlobalizationSection.cs
- XmlMemberMapping.cs
- MachineSettingsSection.cs
- FormViewPagerRow.cs
- XomlCompilerResults.cs
- uribuilder.cs
- PersonalizationState.cs
- PanelStyle.cs
- SqlTypeConverter.cs
- SpanIndex.cs
- DbModificationCommandTree.cs
- Label.cs
- DataGridViewColumnConverter.cs
- IndentedTextWriter.cs
- ElementHostPropertyMap.cs
- GridViewColumnCollection.cs
- TimelineClockCollection.cs
- SHA512.cs
- WebRequestModuleElementCollection.cs
- SessionEndedEventArgs.cs
- SchemaElementLookUpTable.cs
- DropDownButton.cs
- PropertyCollection.cs
- ButtonStandardAdapter.cs
- WindowsButton.cs
- ItemsChangedEventArgs.cs
- RegisteredHiddenField.cs
- PageTheme.cs
- BaseDataListActionList.cs
- XmlSchemaSequence.cs
- TiffBitmapEncoder.cs
- Transform3D.cs
- DisposableCollectionWrapper.cs
- dataSvcMapFileLoader.cs
- MetaColumn.cs
- EntityType.cs
- ExceptionUtility.cs
- RequestQueryProcessor.cs
- TableLayoutPanel.cs
- PropertyValueUIItem.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- DataGridLinkButton.cs
- SoapAttributeOverrides.cs
- TrackingProfileManager.cs
- FirstMatchCodeGroup.cs
- VersionValidator.cs
- CompositeKey.cs
- CultureSpecificCharacterBufferRange.cs
- DataSetSchema.cs
- SystemGatewayIPAddressInformation.cs
- CodeConstructor.cs
- BamlMapTable.cs
- InvalidOleVariantTypeException.cs
- CleanUpVirtualizedItemEventArgs.cs
- EventToken.cs
- MetadataExporter.cs
- EventlogProvider.cs
- CompleteWizardStep.cs
- AttributeData.cs
- TypedDatasetGenerator.cs
- MarshalByRefObject.cs
- SynchronizedRandom.cs
- QuaternionValueSerializer.cs
- ExceptionValidationRule.cs
- NegotiateStream.cs
- CachedResourceDictionaryExtension.cs
- SynchronousChannelMergeEnumerator.cs
- XmlParser.cs
- ReadOnlyDictionary.cs
- PageTextBox.cs
- WebPartManagerInternals.cs
- GC.cs
- Dispatcher.cs
- PropertyOverridesDialog.cs
- MasterPageParser.cs
- CmsUtils.cs
- SQLByte.cs
- EntityKey.cs
- metadatamappinghashervisitor.cs
- HuffModule.cs
- SizeFConverter.cs
- ECDiffieHellmanPublicKey.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs