Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeSnippetCompileUnit.cs / 1305376 / CodeSnippetCompileUnit.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- BypassElementCollection.cs
- RepeaterItemCollection.cs
- TextSpanModifier.cs
- ColorConverter.cs
- GeneralTransform2DTo3D.cs
- PassportIdentity.cs
- EnterpriseServicesHelper.cs
- MatrixTransform.cs
- DefaultPrintController.cs
- MarkupCompilePass1.cs
- EdmItemError.cs
- GridLength.cs
- GenerateDerivedKeyRequest.cs
- CallbackTimeoutsBehavior.cs
- Composition.cs
- OneToOneMappingSerializer.cs
- VersionedStreamOwner.cs
- IOException.cs
- CacheRequest.cs
- LayoutSettings.cs
- SpecialNameAttribute.cs
- Delegate.cs
- XmlFormatExtensionAttribute.cs
- EndpointConfigContainer.cs
- JoinSymbol.cs
- XMLSchema.cs
- InputGestureCollection.cs
- HttpCacheVaryByContentEncodings.cs
- OracleBoolean.cs
- CorrelationToken.cs
- ElementMarkupObject.cs
- ImageFormatConverter.cs
- ProfileInfo.cs
- DataChangedEventManager.cs
- DataPointer.cs
- DataGridViewDesigner.cs
- AssemblyCollection.cs
- Util.cs
- DataGridRowsPresenter.cs
- PointAnimationUsingPath.cs
- MoveSizeWinEventHandler.cs
- ProtocolElementCollection.cs
- EqualityComparer.cs
- OdbcConnectionPoolProviderInfo.cs
- BrushConverter.cs
- DynamicResourceExtension.cs
- Mappings.cs
- CapabilitiesPattern.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- EntityDesignerUtils.cs
- AsyncResult.cs
- StatusStrip.cs
- OpenFileDialog.cs
- DictionaryEntry.cs
- ProfileSection.cs
- OdbcDataReader.cs
- ElementProxy.cs
- FrugalMap.cs
- MulticastNotSupportedException.cs
- DBParameter.cs
- StylusShape.cs
- initElementDictionary.cs
- ComponentRenameEvent.cs
- StorageInfo.cs
- DynamicQueryableWrapper.cs
- PassportPrincipal.cs
- CommandExpr.cs
- StorageComplexTypeMapping.cs
- WebPartConnectionsDisconnectVerb.cs
- FixedPageAutomationPeer.cs
- SubclassTypeValidatorAttribute.cs
- PowerStatus.cs
- StateMachineSubscriptionManager.cs
- DataFormat.cs
- DiscardableAttribute.cs
- GridViewDeletedEventArgs.cs
- DataServiceOperationContext.cs
- SizeValueSerializer.cs
- TableDetailsCollection.cs
- DataTable.cs
- OptimizerPatterns.cs
- CapabilitiesUse.cs
- RegexWriter.cs
- RegisteredExpandoAttribute.cs
- GeneralTransform3D.cs
- ColorBlend.cs
- XmlWrappingReader.cs
- COM2PropertyBuilderUITypeEditor.cs
- XmlMtomReader.cs
- X509SecurityTokenProvider.cs
- Rect.cs
- CompressStream.cs
- XamlUtilities.cs
- CreateUserWizardAutoFormat.cs
- RelativeSource.cs
- NativeMethods.cs
- StoreAnnotationsMap.cs
- TextAnchor.cs
- ConfigurationFileMap.cs
- ApplicationServicesHostFactory.cs