Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeTypeMember.cs / 1305376 / CodeTypeMember.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- 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; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- 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; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- RowUpdatedEventArgs.cs
- EndpointInfo.cs
- ProcessExitedException.cs
- SerializationFieldInfo.cs
- AuthenticationModulesSection.cs
- RuleInfoComparer.cs
- FreezableOperations.cs
- BoundPropertyEntry.cs
- RegexStringValidator.cs
- ContainerFilterService.cs
- GenerateHelper.cs
- DateTimeStorage.cs
- StateMachine.cs
- CultureInfoConverter.cs
- SingleAnimation.cs
- BamlResourceContent.cs
- ImageClickEventArgs.cs
- PageTheme.cs
- DataGridViewRowEventArgs.cs
- NativeRightsManagementAPIsStructures.cs
- IdentityNotMappedException.cs
- DataControlImageButton.cs
- DataGridParentRows.cs
- ActivityInterfaces.cs
- TextRangeAdaptor.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- NativeActivityTransactionContext.cs
- FontStretchConverter.cs
- ZipIOCentralDirectoryFileHeader.cs
- LZCodec.cs
- DataColumn.cs
- ExpressionConverter.cs
- DiffuseMaterial.cs
- InstancePersistence.cs
- GCHandleCookieTable.cs
- loginstatus.cs
- BoundField.cs
- NamespaceInfo.cs
- ToolStripDropDownItemDesigner.cs
- TrackingProfile.cs
- ConstructorBuilder.cs
- CalendarButton.cs
- __Error.cs
- EventSourceCreationData.cs
- WCFBuildProvider.cs
- CommandDesigner.cs
- ResourceProviderFactory.cs
- XmlReaderSettings.cs
- ZipPackage.cs
- ClientUrlResolverWrapper.cs
- ProfileSettingsCollection.cs
- PageThemeParser.cs
- DelegateHelpers.cs
- CodeMethodMap.cs
- SystemNetHelpers.cs
- ParallelRangeManager.cs
- ScopeElementCollection.cs
- SqlUserDefinedTypeAttribute.cs
- figurelengthconverter.cs
- FileResponseElement.cs
- DbDataReader.cs
- PropertyEmitterBase.cs
- webeventbuffer.cs
- messageonlyhwndwrapper.cs
- HttpDictionary.cs
- ThreadStateException.cs
- SimpleNameService.cs
- BorderGapMaskConverter.cs
- SystemResourceHost.cs
- Query.cs
- TransactionFlowAttribute.cs
- RuntimeVariableList.cs
- HostedNamedPipeTransportManager.cs
- CodeGeneratorOptions.cs
- SqlExpressionNullability.cs
- CodeTypeMemberCollection.cs
- ReflectEventDescriptor.cs
- SecurityTokenAuthenticator.cs
- RectKeyFrameCollection.cs
- RawStylusInputCustomDataList.cs
- NumberSubstitution.cs
- Size3DValueSerializer.cs
- CompoundFileStreamReference.cs
- WS2007HttpBindingCollectionElement.cs
- ToolStripItemGlyph.cs
- InvalidCommandTreeException.cs
- Point3DAnimation.cs
- DefaultValueAttribute.cs
- ProfileProvider.cs
- COAUTHIDENTITY.cs
- DataGridViewRowStateChangedEventArgs.cs
- WpfKnownType.cs
- XappLauncher.cs
- DispatcherExceptionEventArgs.cs
- IssuanceLicense.cs
- TextSpanModifier.cs
- EventListenerClientSide.cs
- ProcessModelSection.cs
- DataFormat.cs
- TimerElapsedEvenArgs.cs