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
- CodeIdentifiers.cs
- Contracts.cs
- IMembershipProvider.cs
- BinaryParser.cs
- TraceListener.cs
- CustomLineCap.cs
- DataGridViewRowPostPaintEventArgs.cs
- DbConnectionStringBuilder.cs
- PersistChildrenAttribute.cs
- PreProcessor.cs
- RegexTree.cs
- WebPartDeleteVerb.cs
- ExceptionTranslationTable.cs
- ImageListUtils.cs
- IdentityReference.cs
- ConfigXmlText.cs
- WebPartCancelEventArgs.cs
- AxHost.cs
- StdValidatorsAndConverters.cs
- activationcontext.cs
- DataAccessException.cs
- UrlRoutingHandler.cs
- DeviceContext2.cs
- TypedReference.cs
- ThreadStateException.cs
- StylusButtonEventArgs.cs
- DatasetMethodGenerator.cs
- ManagedCodeMarkers.cs
- DataBinder.cs
- LocalizableResourceBuilder.cs
- KeyboardNavigation.cs
- WebPartZoneBase.cs
- BamlRecordReader.cs
- DbConnectionPoolIdentity.cs
- HtmlEmptyTagControlBuilder.cs
- SelectorItemAutomationPeer.cs
- ListItemConverter.cs
- AdornerDecorator.cs
- XPathNavigator.cs
- DecoderFallback.cs
- FontEditor.cs
- AsymmetricSignatureFormatter.cs
- SqlDataSourceSelectingEventArgs.cs
- StatusStrip.cs
- WebPartCloseVerb.cs
- Lasso.cs
- SHA384Managed.cs
- DocumentXmlWriter.cs
- UserNameSecurityTokenProvider.cs
- DesignerSerializerAttribute.cs
- safemediahandle.cs
- NumericUpDownAcceleration.cs
- DbParameterHelper.cs
- AddInAdapter.cs
- Expression.cs
- AnimatedTypeHelpers.cs
- Point.cs
- WebPartVerbsEventArgs.cs
- TrustSection.cs
- WindowsGraphicsWrapper.cs
- UIHelper.cs
- CollectionConverter.cs
- SolidBrush.cs
- InputElement.cs
- DataBinder.cs
- UserPreferenceChangedEventArgs.cs
- DynamicDataRoute.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ResizeGrip.cs
- Char.cs
- ZipIOExtraField.cs
- FunctionImportMapping.cs
- TreeViewCancelEvent.cs
- OleDbDataReader.cs
- PersistenceTypeAttribute.cs
- DSASignatureDeformatter.cs
- EventHandlersStore.cs
- DefaultTraceListener.cs
- SpecialNameAttribute.cs
- DecimalMinMaxAggregationOperator.cs
- xmlsaver.cs
- Operator.cs
- ValidationSummary.cs
- StorageTypeMapping.cs
- GetKeyedHashRequest.cs
- GACMembershipCondition.cs
- WindowsScrollBarBits.cs
- CodeDirectoryCompiler.cs
- DataControlImageButton.cs
- FormViewPagerRow.cs
- IBuiltInEvidence.cs
- NativeCppClassAttribute.cs
- XamlSerializerUtil.cs
- ConfigXmlSignificantWhitespace.cs
- UnsafeNativeMethods.cs
- XsdDataContractImporter.cs
- TextViewSelectionProcessor.cs
- TraceContext.cs
- BitmapSourceSafeMILHandle.cs
- ServiceOperationViewControl.cs