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
- XmlSchemaAny.cs
- ObjectStorage.cs
- BehaviorEditorPart.cs
- SmiXetterAccessMap.cs
- BasicHttpSecurity.cs
- SweepDirectionValidation.cs
- SpeechUI.cs
- GroupItemAutomationPeer.cs
- InvalidOleVariantTypeException.cs
- SqlNodeAnnotation.cs
- CacheHelper.cs
- ErrorRuntimeConfig.cs
- DynamicExpression.cs
- XPathDescendantIterator.cs
- GC.cs
- RecipientInfo.cs
- TextFormatterHost.cs
- LayoutSettings.cs
- LockedHandleGlyph.cs
- TemplateApplicationHelper.cs
- RadioButton.cs
- CommandHelper.cs
- Cursors.cs
- DPTypeDescriptorContext.cs
- RectAnimationBase.cs
- RotateTransform3D.cs
- Types.cs
- Stacktrace.cs
- WebPartEditorCancelVerb.cs
- UdpChannelFactory.cs
- FormViewPageEventArgs.cs
- ExtenderProvidedPropertyAttribute.cs
- JsonEnumDataContract.cs
- SHA1Managed.cs
- RichTextBoxAutomationPeer.cs
- Typography.cs
- Italic.cs
- COM2EnumConverter.cs
- TextTreeTextNode.cs
- WpfGeneratedKnownTypes.cs
- XmlAttributeOverrides.cs
- Normalization.cs
- RegionIterator.cs
- DateTimeValueSerializerContext.cs
- ReflectionUtil.cs
- GraphicsContainer.cs
- WebPartDeleteVerb.cs
- XMLUtil.cs
- StdValidatorsAndConverters.cs
- OverflowException.cs
- IdnMapping.cs
- HttpBindingExtension.cs
- ValueType.cs
- CssClassPropertyAttribute.cs
- EntryWrittenEventArgs.cs
- BasePattern.cs
- CultureSpecificCharacterBufferRange.cs
- Baml2006ReaderContext.cs
- Point3DAnimation.cs
- LazyTextWriterCreator.cs
- SerialReceived.cs
- DESCryptoServiceProvider.cs
- Rect3D.cs
- RequiredAttributeAttribute.cs
- DataSourceControl.cs
- ClusterRegistryConfigurationProvider.cs
- IndentedTextWriter.cs
- TracingConnection.cs
- CatalogZone.cs
- TailPinnedEventArgs.cs
- Label.cs
- TrimSurroundingWhitespaceAttribute.cs
- FollowerQueueCreator.cs
- _PooledStream.cs
- CannotUnloadAppDomainException.cs
- Suspend.cs
- Win32SafeHandles.cs
- FunctionImportMapping.cs
- TextEditorSpelling.cs
- OracleParameterCollection.cs
- SortedSet.cs
- ExtenderProviderService.cs
- XmlChoiceIdentifierAttribute.cs
- UnsafeCollabNativeMethods.cs
- ConsumerConnectionPointCollection.cs
- XmlSubtreeReader.cs
- InfoCardUIAgent.cs
- QuadraticBezierSegment.cs
- OdbcHandle.cs
- XPathNodeHelper.cs
- OrderByBuilder.cs
- RegexCapture.cs
- LabelAutomationPeer.cs
- SourceFilter.cs
- ConfigurationElementCollection.cs
- WebPartManagerInternals.cs
- Scheduler.cs
- ProfileSection.cs
- ResourceReader.cs
- MouseWheelEventArgs.cs