Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DetailsViewPageEventArgs.cs
- ReplyChannelBinder.cs
- XamlPointCollectionSerializer.cs
- SolidBrush.cs
- wgx_exports.cs
- BaseDataBoundControl.cs
- TypedReference.cs
- Brush.cs
- TextTrailingWordEllipsis.cs
- Setter.cs
- DateTimeFormatInfo.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- OrderByBuilder.cs
- DataServiceException.cs
- CheckBox.cs
- DiscoveryReferences.cs
- ReflectPropertyDescriptor.cs
- QueryOutputWriter.cs
- WebContentFormatHelper.cs
- LockCookie.cs
- BasicCellRelation.cs
- CodeSnippetTypeMember.cs
- ArgumentNullException.cs
- HttpStreamXmlDictionaryWriter.cs
- HyperlinkAutomationPeer.cs
- CapabilitiesState.cs
- SafeNativeMethods.cs
- DeferredTextReference.cs
- ScrollProperties.cs
- DataGridViewCellCancelEventArgs.cs
- XPathConvert.cs
- RegexCompiler.cs
- WebSysDescriptionAttribute.cs
- StreamAsIStream.cs
- ListView.cs
- ProfileSettings.cs
- KoreanCalendar.cs
- ExtentCqlBlock.cs
- BitStack.cs
- IgnorePropertiesAttribute.cs
- ToolStripHighContrastRenderer.cs
- SqlRecordBuffer.cs
- RootProfilePropertySettingsCollection.cs
- Light.cs
- Rect.cs
- SectionVisual.cs
- GridLength.cs
- CommunicationObjectAbortedException.cs
- ListItemCollection.cs
- CoTaskMemSafeHandle.cs
- ProtocolsConfigurationHandler.cs
- Point4DValueSerializer.cs
- DesignerOptions.cs
- SimpleHandlerBuildProvider.cs
- DecimalConverter.cs
- ConfigXmlWhitespace.cs
- ToolStripActionList.cs
- DataGridPagerStyle.cs
- SessionSwitchEventArgs.cs
- PasswordTextContainer.cs
- ColumnResizeUndoUnit.cs
- CodeTypeMember.cs
- DirectoryLocalQuery.cs
- MultiAsyncResult.cs
- OpCellTreeNode.cs
- MetadataItemEmitter.cs
- BinaryWriter.cs
- TextElement.cs
- SQLInt16.cs
- LookupNode.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- CharacterShapingProperties.cs
- ConfigurationProperty.cs
- GeometryModel3D.cs
- TextLineResult.cs
- MarkupExtensionParser.cs
- DataRow.cs
- OrderByExpression.cs
- HttpCapabilitiesEvaluator.cs
- EntityDesignerBuildProvider.cs
- CreateUserWizard.cs
- Registry.cs
- RuntimeTrackingProfile.cs
- StateMachineWorkflowInstance.cs
- ResXBuildProvider.cs
- SimpleFieldTemplateUserControl.cs
- EntityContainer.cs
- SqlSupersetValidator.cs
- DynamicHyperLink.cs
- EmptyWorkItem.cs
- Matrix3D.cs
- HMACSHA1.cs
- TextCharacters.cs
- DocumentsTrace.cs
- shaper.cs
- CryptoHelper.cs
- LineSegment.cs
- ObjectTag.cs
- NativeConfigurationLoader.cs
- WebPartDisplayModeCollection.cs