Code:
/ FX-1434 / FX-1434 / 1.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
- ViewValidator.cs
- ElementMarkupObject.cs
- ApplicationTrust.cs
- DynamicControl.cs
- EdgeModeValidation.cs
- XPathDescendantIterator.cs
- Point4DValueSerializer.cs
- Pair.cs
- GenericIdentity.cs
- AxHost.cs
- ObjectDataSourceWizardForm.cs
- CodePageUtils.cs
- ConfigurationLockCollection.cs
- ResizeGrip.cs
- webclient.cs
- WindowsIdentity.cs
- AsyncOperationManager.cs
- ClientFormsIdentity.cs
- __ComObject.cs
- SqlProcedureAttribute.cs
- CallbackValidator.cs
- Geometry.cs
- XmlSchemaCollection.cs
- DeferredTextReference.cs
- SqlProviderServices.cs
- OleAutBinder.cs
- ToolStripEditorManager.cs
- StyleModeStack.cs
- DoubleLink.cs
- LinkButton.cs
- SQLMoneyStorage.cs
- FileInfo.cs
- ConfigurationStrings.cs
- CharacterMetricsDictionary.cs
- DropSource.cs
- ScriptServiceAttribute.cs
- XmlSecureResolver.cs
- ApplyImportsAction.cs
- SelectionRangeConverter.cs
- PhysicalFontFamily.cs
- EntityClassGenerator.cs
- BasicHttpMessageSecurityElement.cs
- NaturalLanguageHyphenator.cs
- BreakRecordTable.cs
- TypeResolver.cs
- SQLByteStorage.cs
- IgnoreFlushAndCloseStream.cs
- TransportSecurityProtocol.cs
- SpecularMaterial.cs
- EntityDataSourceWrapper.cs
- SecurityTokenRequirement.cs
- OleDbStruct.cs
- ServiceNotStartedException.cs
- CapabilitiesState.cs
- AppSettings.cs
- Expression.cs
- ReadOnlyDataSourceView.cs
- SapiInterop.cs
- CodeDirectoryCompiler.cs
- FileLoadException.cs
- CallbackTimeoutsBehavior.cs
- MonthCalendar.cs
- PreloadedPackages.cs
- ActivityCodeGenerator.cs
- StrokeIntersection.cs
- RequestSecurityTokenResponseCollection.cs
- MultipartContentParser.cs
- TextEncodedRawTextWriter.cs
- DataBoundControlActionList.cs
- FunctionGenerator.cs
- LinkedResourceCollection.cs
- Propagator.ExtentPlaceholderCreator.cs
- Vector3DAnimationBase.cs
- WebPartConnectionsCancelVerb.cs
- NavigationEventArgs.cs
- Calendar.cs
- CodeDirectoryCompiler.cs
- ComboBox.cs
- LocatorPartList.cs
- PeerMaintainer.cs
- X509CertificateClaimSet.cs
- EventSinkHelperWriter.cs
- ConstrainedDataObject.cs
- SqlDataSourceView.cs
- DbDataSourceEnumerator.cs
- NumberFormatInfo.cs
- ApplicationServiceManager.cs
- StateWorkerRequest.cs
- xdrvalidator.cs
- SqlMetaData.cs
- ImageButton.cs
- XmlNamespaceDeclarationsAttribute.cs
- Part.cs
- WebRequestModulesSection.cs
- DomainConstraint.cs
- CommonDialog.cs
- TextEditor.cs
- DataBoundControlParameterTarget.cs
- ImageButton.cs
- StrongNameIdentityPermission.cs