Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / CodeDOM / CodeTypeMember.cs / 1 / CodeTypeMember.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.Serialization; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeTypeMember : CodeObject { private MemberAttributes attributes = MemberAttributes.Private | MemberAttributes.Final; private string name; private CodeCommentStatementCollection comments = new CodeCommentStatementCollection(); private CodeAttributeDeclarationCollection customAttributes = null; private CodeLinePragma linePragma; // Optionally Serializable [OptionalField] private CodeDirectiveCollection startDirectives = null; [OptionalField] private CodeDirectiveCollection endDirectives = null; ////// Represents a class member. /// ////// public string Name { get { return (name == null) ? string.Empty : name; } set { name = value; } } ////// Gets or sets /// the name of the member. /// ////// public MemberAttributes Attributes { get { return attributes; } set { attributes = value; } } ////// Gets or sets a ///indicating /// the attributes of the member. /// /// public CodeAttributeDeclarationCollection CustomAttributes { get { if (customAttributes == null) { customAttributes = new CodeAttributeDeclarationCollection(); } return customAttributes; } set { customAttributes = value; } } ////// Gets or sets a ///indicating /// the custom attributes of the /// member. /// /// public CodeLinePragma LinePragma { get { return linePragma; } set { linePragma = value; } } ////// The line the statement occurs on. /// ////// public CodeCommentStatementCollection Comments { get { return comments; } } public CodeDirectiveCollection StartDirectives { get { if (startDirectives == null) { startDirectives = new CodeDirectiveCollection(); } return startDirectives; } } public CodeDirectiveCollection EndDirectives { get { if (endDirectives == null) { endDirectives = new CodeDirectiveCollection(); } return endDirectives ; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the member comment collection members. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.Serialization; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeTypeMember : CodeObject { private MemberAttributes attributes = MemberAttributes.Private | MemberAttributes.Final; private string name; private CodeCommentStatementCollection comments = new CodeCommentStatementCollection(); private CodeAttributeDeclarationCollection customAttributes = null; private CodeLinePragma linePragma; // Optionally Serializable [OptionalField] private CodeDirectiveCollection startDirectives = null; [OptionalField] private CodeDirectiveCollection endDirectives = null; ////// Represents a class member. /// ////// public string Name { get { return (name == null) ? string.Empty : name; } set { name = value; } } ////// Gets or sets /// the name of the member. /// ////// public MemberAttributes Attributes { get { return attributes; } set { attributes = value; } } ////// Gets or sets a ///indicating /// the attributes of the member. /// /// public CodeAttributeDeclarationCollection CustomAttributes { get { if (customAttributes == null) { customAttributes = new CodeAttributeDeclarationCollection(); } return customAttributes; } set { customAttributes = value; } } ////// Gets or sets a ///indicating /// the custom attributes of the /// member. /// /// public CodeLinePragma LinePragma { get { return linePragma; } set { linePragma = value; } } ////// The line the statement occurs on. /// ////// public CodeCommentStatementCollection Comments { get { return comments; } } public CodeDirectiveCollection StartDirectives { get { if (startDirectives == null) { startDirectives = new CodeDirectiveCollection(); } return startDirectives; } } public CodeDirectiveCollection EndDirectives { get { if (endDirectives == null) { endDirectives = new CodeDirectiveCollection(); } return endDirectives ; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets the member comment collection members. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AssemblyInfo.cs
- AsymmetricKeyExchangeDeformatter.cs
- LineServices.cs
- SchemaTypeEmitter.cs
- SchemaCollectionCompiler.cs
- ExpressionDumper.cs
- Encoding.cs
- StandardBindingOptionalReliableSessionElement.cs
- TrimSurroundingWhitespaceAttribute.cs
- SizeAnimationClockResource.cs
- Switch.cs
- SliderAutomationPeer.cs
- XmlRawWriterWrapper.cs
- RegistryConfigurationProvider.cs
- AlphabetConverter.cs
- SemanticResultKey.cs
- StrokeNodeEnumerator.cs
- GeneralTransform3D.cs
- filewebrequest.cs
- TextContainerChangedEventArgs.cs
- WebServiceResponse.cs
- ExceptionHelpers.cs
- Switch.cs
- TiffBitmapEncoder.cs
- StaticDataManager.cs
- FixedDocumentPaginator.cs
- EntityKeyElement.cs
- PublisherIdentityPermission.cs
- TextSelectionHighlightLayer.cs
- MatcherBuilder.cs
- SessionSymmetricMessageSecurityProtocolFactory.cs
- DataGridViewControlCollection.cs
- LoadedOrUnloadedOperation.cs
- UrlAuthorizationModule.cs
- CustomErrorCollection.cs
- NameValueSectionHandler.cs
- OleDbDataAdapter.cs
- DataGridViewImageColumn.cs
- DeferredTextReference.cs
- MetadataItemCollectionFactory.cs
- SearchForVirtualItemEventArgs.cs
- AssemblyContextControlItem.cs
- CapabilitiesRule.cs
- TimelineCollection.cs
- PenContexts.cs
- FontStyles.cs
- ScriptingProfileServiceSection.cs
- LinearKeyFrames.cs
- XamlPoint3DCollectionSerializer.cs
- CounterCreationDataCollection.cs
- EmptyTextWriter.cs
- QilStrConcatenator.cs
- DataGridSortCommandEventArgs.cs
- CircleHotSpot.cs
- cryptoapiTransform.cs
- PrincipalPermission.cs
- NoClickablePointException.cs
- CodeIdentifier.cs
- TextElement.cs
- CellParagraph.cs
- PersonalizationStateInfoCollection.cs
- ProcessThreadCollection.cs
- ObjectItemLoadingSessionData.cs
- DataPagerFieldCommandEventArgs.cs
- HttpConfigurationSystem.cs
- TransformValueSerializer.cs
- TemplateContent.cs
- DbMetaDataFactory.cs
- Scanner.cs
- BitHelper.cs
- UIServiceHelper.cs
- StringSorter.cs
- KeyConstraint.cs
- ChannelRequirements.cs
- ClientProxyGenerator.cs
- StaticTextPointer.cs
- WebEvents.cs
- MouseEvent.cs
- TriggerCollection.cs
- DynamicDataRouteHandler.cs
- CodeGenerator.cs
- InvokeProviderWrapper.cs
- CharAnimationBase.cs
- MetroSerializationManager.cs
- safex509handles.cs
- ContentDisposition.cs
- HtmlTernaryTree.cs
- FontResourceCache.cs
- DllNotFoundException.cs
- NamedPipeHostedTransportConfiguration.cs
- HtmlTableCell.cs
- ZipIOBlockManager.cs
- ListView.cs
- GridItem.cs
- DataServiceBuildProvider.cs
- ServiceObjectContainer.cs
- RSAPKCS1SignatureDeformatter.cs
- TypeBuilder.cs
- DiscoveryCallbackBehavior.cs
- Effect.cs