Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SizeIndependentAnimationStorage.cs
- DecimalKeyFrameCollection.cs
- SiteMap.cs
- InputProcessorProfilesLoader.cs
- PermissionAttributes.cs
- MobileFormsAuthentication.cs
- Soap12ProtocolImporter.cs
- DPAPIProtectedConfigurationProvider.cs
- MediaContext.cs
- BuildTopDownAttribute.cs
- DataGridViewCellValidatingEventArgs.cs
- CodeDefaultValueExpression.cs
- IncrementalReadDecoders.cs
- ProtocolsConfigurationHandler.cs
- HttpHandlerActionCollection.cs
- MailAddress.cs
- AutomationPatternInfo.cs
- Line.cs
- Int64AnimationUsingKeyFrames.cs
- ButtonAutomationPeer.cs
- TrackingLocation.cs
- StringFunctions.cs
- XmlIlVisitor.cs
- NodeLabelEditEvent.cs
- ReferenceService.cs
- NetNamedPipeBindingCollectionElement.cs
- NativeObjectSecurity.cs
- TypeConstant.cs
- ListBoxItem.cs
- SHA384Cng.cs
- StringExpressionSet.cs
- SecurityUniqueId.cs
- MsdtcClusterUtils.cs
- TraceFilter.cs
- ScriptManager.cs
- DataReaderContainer.cs
- isolationinterop.cs
- CookieProtection.cs
- StringOutput.cs
- BaseValidator.cs
- CodeDefaultValueExpression.cs
- DrawingGroupDrawingContext.cs
- FileVersionInfo.cs
- QilScopedVisitor.cs
- CompiledQuery.cs
- SerializationIncompleteException.cs
- ExtensionsSection.cs
- XmlWrappingReader.cs
- CharacterBuffer.cs
- Script.cs
- CompilerErrorCollection.cs
- EncoderExceptionFallback.cs
- PreservationFileReader.cs
- GradientStop.cs
- ErrorRuntimeConfig.cs
- CurrencyWrapper.cs
- HelloOperationAsyncResult.cs
- CallbackDebugElement.cs
- HttpListenerPrefixCollection.cs
- Base64Encoding.cs
- SemaphoreFullException.cs
- ChannelManager.cs
- Select.cs
- Facet.cs
- NameValueConfigurationCollection.cs
- ConfigXmlSignificantWhitespace.cs
- ClipboardData.cs
- DuplexChannelFactory.cs
- ImageList.cs
- NotConverter.cs
- DefaultHttpHandler.cs
- NumericUpDownAcceleration.cs
- ElementHostAutomationPeer.cs
- ActivityFunc.cs
- BindingFormattingDialog.cs
- ConfigurationProperty.cs
- DaylightTime.cs
- SimpleBitVector32.cs
- RefExpr.cs
- ExtensionDataObject.cs
- WebMessageEncodingElement.cs
- FrameworkElementAutomationPeer.cs
- FontSourceCollection.cs
- HttpConfigurationContext.cs
- EmptyEnumerator.cs
- PropertyGroupDescription.cs
- MultipartIdentifier.cs
- ItemsChangedEventArgs.cs
- NumericPagerField.cs
- BindingNavigator.cs
- Baml2006ReaderContext.cs
- FlowDocumentPage.cs
- TransformedBitmap.cs
- HMACSHA512.cs
- XmlSchemaObjectCollection.cs
- StateMachineWorkflowDesigner.cs
- AuthenticatingEventArgs.cs
- MissingManifestResourceException.cs
- TextViewBase.cs
- Baml2006KnownTypes.cs