Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }/// The line the code block starts on. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TemplateControlCodeDomTreeGenerator.cs
- DataGridViewIntLinkedList.cs
- StructuredProperty.cs
- DescendentsWalker.cs
- ObfuscationAttribute.cs
- XmlConvert.cs
- QilNode.cs
- Pkcs7Recipient.cs
- StrokeIntersection.cs
- XmlText.cs
- AnimatedTypeHelpers.cs
- BinaryEditor.cs
- ToolStripPanelCell.cs
- DataControlButton.cs
- StructuredTypeEmitter.cs
- MaskInputRejectedEventArgs.cs
- FixedSOMLineCollection.cs
- DataGridViewRowPrePaintEventArgs.cs
- Function.cs
- DesignerVerbCollection.cs
- SoapCommonClasses.cs
- Point4D.cs
- XmlDataSource.cs
- DynamicDiscoveryDocument.cs
- CacheAxisQuery.cs
- XmlDictionaryReaderQuotas.cs
- DoubleCollectionValueSerializer.cs
- SecurityElement.cs
- ObjectStateManagerMetadata.cs
- LongAverageAggregationOperator.cs
- OutputCacheProfile.cs
- PersonalizablePropertyEntry.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- MessagePropertyDescription.cs
- TextTreeTextBlock.cs
- DataServiceRequestOfT.cs
- MessageQueueAccessControlEntry.cs
- XPathDocumentIterator.cs
- DefaultHttpHandler.cs
- Visual.cs
- SolidColorBrush.cs
- HtmlShimManager.cs
- MILUtilities.cs
- BaseCollection.cs
- MemberRestriction.cs
- BufferedGenericXmlSecurityToken.cs
- QueueProcessor.cs
- ForceCopyBuildProvider.cs
- InputDevice.cs
- File.cs
- XmlDataLoader.cs
- OdbcEnvironmentHandle.cs
- ParseNumbers.cs
- DataServiceHostFactory.cs
- EntityDataSourceStatementEditor.cs
- FilterUserControlBase.cs
- ProgressBar.cs
- SocketException.cs
- EventBuilder.cs
- ContentType.cs
- ReferenceConverter.cs
- DateTimeOffsetConverter.cs
- CompilationRelaxations.cs
- ThreadPool.cs
- QueuePathDialog.cs
- DbProviderFactories.cs
- safex509handles.cs
- TemplateDefinition.cs
- PrinterResolution.cs
- AstNode.cs
- XmlChoiceIdentifierAttribute.cs
- SystemColors.cs
- RenamedEventArgs.cs
- HostingEnvironmentSection.cs
- ActiveXHelper.cs
- dbdatarecord.cs
- SchemaElementLookUpTable.cs
- Helper.cs
- BookmarkOptionsHelper.cs
- DataTableNameHandler.cs
- DeferredTextReference.cs
- DeclarativeExpressionConditionDeclaration.cs
- BindingCompleteEventArgs.cs
- VideoDrawing.cs
- TreeViewDataItemAutomationPeer.cs
- RolePrincipal.cs
- EdmToObjectNamespaceMap.cs
- JavascriptCallbackBehaviorAttribute.cs
- PrefixQName.cs
- SchemaSetCompiler.cs
- Asn1IntegerConverter.cs
- ControlUtil.cs
- DataSourceXmlElementAttribute.cs
- FileChangesMonitor.cs
- MailAddress.cs
- HwndSourceParameters.cs
- sqlmetadatafactory.cs
- SchemaElement.cs
- SoapSchemaExporter.cs
- CompiledAction.cs