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
- EastAsianLunisolarCalendar.cs
- DefaultAuthorizationContext.cs
- GroupAggregateExpr.cs
- LogEntrySerialization.cs
- WebSysDescriptionAttribute.cs
- QueryHandler.cs
- StoryFragments.cs
- Int32Rect.cs
- WebConvert.cs
- MatcherBuilder.cs
- MouseWheelEventArgs.cs
- MatrixAnimationUsingPath.cs
- ConstrainedDataObject.cs
- InvalidCastException.cs
- XmlSerializerAssemblyAttribute.cs
- ProjectedSlot.cs
- ToolStripItemGlyph.cs
- ResourceType.cs
- Light.cs
- TraceHelpers.cs
- HttpProfileGroupBase.cs
- PropertyChangeTracker.cs
- Msmq4PoisonHandler.cs
- GcHandle.cs
- PropertyNames.cs
- DirectoryNotFoundException.cs
- BaseConfigurationRecord.cs
- DataBindingList.cs
- SimpleHandlerFactory.cs
- ClientSponsor.cs
- WindowsScroll.cs
- XmlAttributeCache.cs
- AssemblyInfo.cs
- WebBaseEventKeyComparer.cs
- DateTimeFormatInfo.cs
- DockingAttribute.cs
- GZipDecoder.cs
- XmlTextReader.cs
- AutoCompleteStringCollection.cs
- DataSysAttribute.cs
- XmlAttributeProperties.cs
- AuthenticationConfig.cs
- DefaultBindingPropertyAttribute.cs
- MemberJoinTreeNode.cs
- FlowDocumentScrollViewer.cs
- AnnouncementSendsAsyncResult.cs
- ResourceContainer.cs
- SerializationEventsCache.cs
- DataTemplate.cs
- CompilationUtil.cs
- MsmqAuthenticationMode.cs
- Stylesheet.cs
- DataGridItem.cs
- SoapTransportImporter.cs
- WindowCollection.cs
- DispatcherHooks.cs
- QueuedDeliveryRequirementsMode.cs
- FontCollection.cs
- ToolStripButton.cs
- CompressedStack.cs
- FontDifferentiator.cs
- MasterPage.cs
- FormsAuthenticationTicket.cs
- EntityContainerRelationshipSetEnd.cs
- DataViewSetting.cs
- HtmlControl.cs
- TextSchema.cs
- EditCommandColumn.cs
- InternalEnumValidatorAttribute.cs
- ResetableIterator.cs
- AnnotationHighlightLayer.cs
- LiteralLink.cs
- _ChunkParse.cs
- FontSource.cs
- WindowsGraphics2.cs
- ImageCollectionCodeDomSerializer.cs
- Soap.cs
- wpf-etw.cs
- Timeline.cs
- LazyTextWriterCreator.cs
- WorkerRequest.cs
- PeerUnsafeNativeMethods.cs
- AccessorTable.cs
- TrustExchangeException.cs
- PropertyPanel.cs
- DataGridHelper.cs
- BufferedGraphics.cs
- ListSortDescriptionCollection.cs
- ViewLoader.cs
- DataPagerCommandEventArgs.cs
- WeakReference.cs
- MarkupCompilePass1.cs
- ImageMapEventArgs.cs
- EndpointAddressAugust2004.cs
- MethodToken.cs
- SerializerProvider.cs
- TextTreeFixupNode.cs
- StaticTextPointer.cs
- UniqueID.cs
- DataListItem.cs