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
- InvalidOleVariantTypeException.cs
- x509utils.cs
- ImplicitInputBrush.cs
- InheritablePropertyChangeInfo.cs
- XpsPartBase.cs
- ScrollBarAutomationPeer.cs
- CompoundFileStreamReference.cs
- PropertyReferenceSerializer.cs
- Pipe.cs
- NameValuePair.cs
- SerTrace.cs
- CustomExpressionEventArgs.cs
- StatusBarItemAutomationPeer.cs
- TemplateBaseAction.cs
- AuthenticationManager.cs
- HierarchicalDataBoundControlAdapter.cs
- AudienceUriMode.cs
- OpCodes.cs
- WorkflowInlining.cs
- OleDbParameterCollection.cs
- ResourceLoader.cs
- BindingGroup.cs
- FileChangesMonitor.cs
- IdentifierService.cs
- IsolatedStorageException.cs
- RelOps.cs
- XmlParserContext.cs
- UnsafeNativeMethods.cs
- DrawToolTipEventArgs.cs
- ControlIdConverter.cs
- RSAOAEPKeyExchangeFormatter.cs
- rsa.cs
- HttpApplication.cs
- SelectionUIHandler.cs
- HtmlInputCheckBox.cs
- SystemEvents.cs
- WebPartTransformer.cs
- AdvancedBindingPropertyDescriptor.cs
- DiagnosticsConfigurationHandler.cs
- ComplusTypeValidator.cs
- KeySpline.cs
- SystemNetHelpers.cs
- TextBoxAutomationPeer.cs
- validation.cs
- _ProxyChain.cs
- ServiceContractGenerationContext.cs
- RightsManagementEncryptionTransform.cs
- CustomErrorCollection.cs
- RSAPKCS1SignatureDeformatter.cs
- PersistStreamTypeWrapper.cs
- SqlCharStream.cs
- WebZoneDesigner.cs
- DesignerSerializationOptionsAttribute.cs
- ProxyGenerator.cs
- RoutedEventConverter.cs
- WorkflowCreationContext.cs
- DataContractSerializerServiceBehavior.cs
- WSSecureConversation.cs
- UiaCoreTypesApi.cs
- ErrorRuntimeConfig.cs
- exports.cs
- TextDpi.cs
- MembershipValidatePasswordEventArgs.cs
- ExpressionList.cs
- ItemMap.cs
- WebPartManager.cs
- ThrowHelper.cs
- ImageCodecInfoPrivate.cs
- RemoteWebConfigurationHostStream.cs
- CurrentChangedEventManager.cs
- DataListItemEventArgs.cs
- ObjectDataSourceEventArgs.cs
- FileDialog_Vista_Interop.cs
- DataSource.cs
- PersonalizationAdministration.cs
- EventProvider.cs
- ReferenceSchema.cs
- CircleHotSpot.cs
- LambdaCompiler.Expressions.cs
- ActiveXContainer.cs
- MessageQueuePermission.cs
- TextEditorContextMenu.cs
- ViewService.cs
- SectionInformation.cs
- ByteStreamMessageEncodingElement.cs
- sitestring.cs
- UInt32Converter.cs
- ScrollBarRenderer.cs
- HttpProfileGroupBase.cs
- DesignerCommandSet.cs
- IntellisenseTextBox.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- GroupBox.cs
- XmlSchemaImporter.cs
- DocumentViewerHelper.cs
- VisualBrush.cs
- CodeSnippetCompileUnit.cs
- TimeSpanStorage.cs
- FrameworkObject.cs
- CounterNameConverter.cs