Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DataGridState.cs
- IProducerConsumerCollection.cs
- LongValidator.cs
- AsyncWaitHandle.cs
- SQLDouble.cs
- EventLog.cs
- PropertyEntry.cs
- UIElement3D.cs
- XmlSerializationGeneratedCode.cs
- StandardToolWindows.cs
- VarInfo.cs
- SpecialFolderEnumConverter.cs
- GroupBoxDesigner.cs
- JapaneseLunisolarCalendar.cs
- ServerValidateEventArgs.cs
- ColorMatrix.cs
- HasCopySemanticsAttribute.cs
- basecomparevalidator.cs
- ErrorFormatterPage.cs
- SQLDouble.cs
- PaperSource.cs
- Application.cs
- DefaultParameterValueAttribute.cs
- TextLineResult.cs
- FactoryGenerator.cs
- OpacityConverter.cs
- InProcStateClientManager.cs
- HttpPostProtocolImporter.cs
- NullExtension.cs
- AuthStoreRoleProvider.cs
- ResourceReader.cs
- Events.cs
- XamlWriter.cs
- IssuanceTokenProviderState.cs
- TlsnegoTokenAuthenticator.cs
- TextModifier.cs
- PreviewKeyDownEventArgs.cs
- ModelFunctionTypeElement.cs
- AssemblyName.cs
- TextDecorationLocationValidation.cs
- invalidudtexception.cs
- MarkupObject.cs
- ProfilePropertySettingsCollection.cs
- DependencyPropertyAttribute.cs
- WebPartConnectionsDisconnectVerb.cs
- GlobalProxySelection.cs
- DynamicResourceExtension.cs
- CodeExporter.cs
- CodeTypeReference.cs
- SettingsProviderCollection.cs
- InitializationEventAttribute.cs
- ExpressionEditorAttribute.cs
- ClassHandlersStore.cs
- ScrollEventArgs.cs
- RelationshipEnd.cs
- XmlDataCollection.cs
- DbBuffer.cs
- PreviewPageInfo.cs
- LineServicesRun.cs
- SqlMethods.cs
- Attributes.cs
- CategoryAttribute.cs
- ToolStripProgressBar.cs
- PersonalizationStateInfo.cs
- UTF8Encoding.cs
- XmlConvert.cs
- SystemTcpStatistics.cs
- TerminatorSinks.cs
- SecurityAppliedMessage.cs
- SafeNativeMethods.cs
- IsolatedStorageFile.cs
- CodeDirectionExpression.cs
- UdpRetransmissionSettings.cs
- InkCanvasInnerCanvas.cs
- XmlRootAttribute.cs
- GlyphsSerializer.cs
- DelegateHelpers.cs
- ReadWriteObjectLock.cs
- TypeTypeConverter.cs
- QueueProcessor.cs
- Brush.cs
- SoapAttributeOverrides.cs
- SafeIUnknown.cs
- ExplicitDiscriminatorMap.cs
- WebEvents.cs
- XPathAncestorIterator.cs
- MessageBox.cs
- altserialization.cs
- BinaryReader.cs
- OperationCanceledException.cs
- PeerNameRecord.cs
- BamlStream.cs
- TextEncodedRawTextWriter.cs
- ConnectionStringSettings.cs
- StrokeCollection2.cs
- ConfigurationValidatorAttribute.cs
- GridViewColumnCollection.cs
- DbProviderFactories.cs
- GraphicsContext.cs
- Keywords.cs