Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SafeEventHandle.cs
- BitStack.cs
- ProfilePropertySettingsCollection.cs
- ClientConfigurationSystem.cs
- CqlQuery.cs
- CustomExpression.cs
- ComponentCollection.cs
- TargetFrameworkAttribute.cs
- IChannel.cs
- Bold.cs
- DesigntimeLicenseContext.cs
- HandleCollector.cs
- ConfigurationPropertyAttribute.cs
- OptimizedTemplateContentHelper.cs
- XmlWrappingWriter.cs
- PartitionResolver.cs
- ListViewEditEventArgs.cs
- OleDbErrorCollection.cs
- DrawingImage.cs
- DashStyles.cs
- View.cs
- TextOnlyOutput.cs
- ThreadStateException.cs
- HttpListenerTimeoutManager.cs
- OLEDB_Util.cs
- DataGridViewToolTip.cs
- TraceHwndHost.cs
- CheckBoxBaseAdapter.cs
- PropertyChangedEventArgs.cs
- IDReferencePropertyAttribute.cs
- TypeInitializationException.cs
- RtfToXamlReader.cs
- ActivityWithResultWrapper.cs
- TextParaLineResult.cs
- PersistenceContextEnlistment.cs
- BitmapEffect.cs
- SQLBinary.cs
- CatalogZoneBase.cs
- _Connection.cs
- SpoolingTaskBase.cs
- ListViewCancelEventArgs.cs
- CharacterMetricsDictionary.cs
- GridViewRow.cs
- PropertyInformationCollection.cs
- BulletedList.cs
- WindowsAuthenticationEventArgs.cs
- ComponentDispatcher.cs
- ShutDownListener.cs
- TransportContext.cs
- XmlTypeAttribute.cs
- AccessDataSourceDesigner.cs
- ContentControl.cs
- TransactionInformation.cs
- MetabaseSettingsIis7.cs
- WeakEventTable.cs
- SystemNetworkInterface.cs
- ActiveXContainer.cs
- Tokenizer.cs
- OSFeature.cs
- ObjectViewQueryResultData.cs
- SizeAnimationUsingKeyFrames.cs
- CompoundFileDeflateTransform.cs
- TableItemStyle.cs
- EncoderParameter.cs
- ImageField.cs
- ActivationServices.cs
- CategoryEditor.cs
- OracleMonthSpan.cs
- SystemInfo.cs
- OutputScope.cs
- FastEncoderWindow.cs
- ProjectionCamera.cs
- ComboBoxItem.cs
- ConsoleTraceListener.cs
- OleDbTransaction.cs
- FontWeights.cs
- ISAPIWorkerRequest.cs
- EmptyEnumerator.cs
- DiscoveryDocumentSearchPattern.cs
- TagMapCollection.cs
- XmlSchemaSimpleContent.cs
- RegisteredArrayDeclaration.cs
- SmuggledIUnknown.cs
- TdsRecordBufferSetter.cs
- CompensationTokenData.cs
- WindowsButton.cs
- GridViewDeletedEventArgs.cs
- CharAnimationBase.cs
- DataContractSerializerFaultFormatter.cs
- WsdlWriter.cs
- SerializationObjectManager.cs
- CodeIndexerExpression.cs
- EllipseGeometry.cs
- SchemaCollectionPreprocessor.cs
- SocketAddress.cs
- UnsafeNativeMethods.cs
- Cloud.cs
- LinkUtilities.cs
- SqlRowUpdatedEvent.cs
- ClientTargetCollection.cs