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
- TreeViewItemAutomationPeer.cs
- ObjectQuery_EntitySqlExtensions.cs
- SrgsItemList.cs
- WebConfigurationManager.cs
- ServiceObjectContainer.cs
- XmlSchemaCompilationSettings.cs
- Bitmap.cs
- DesignTimeVisibleAttribute.cs
- DesignerActionUI.cs
- WebPartDescription.cs
- XmlCodeExporter.cs
- WindowsScrollBar.cs
- RIPEMD160.cs
- DbDataRecord.cs
- UTF32Encoding.cs
- LoginView.cs
- Subtree.cs
- EarlyBoundInfo.cs
- WindowsToolbar.cs
- HttpListenerResponse.cs
- Expression.DebuggerProxy.cs
- CancellationHandlerDesigner.cs
- Queue.cs
- OleDbParameter.cs
- BrowserCapabilitiesFactoryBase.cs
- DefaultAssemblyResolver.cs
- GeneralTransformGroup.cs
- PageThemeCodeDomTreeGenerator.cs
- PerformanceCounterLib.cs
- ParentControlDesigner.cs
- _NetworkingPerfCounters.cs
- DbRetry.cs
- BorderGapMaskConverter.cs
- BindingBase.cs
- Internal.cs
- LabelLiteral.cs
- QueryConverter.cs
- XmlAnyElementAttributes.cs
- DataFormats.cs
- ZipPackage.cs
- TemplateXamlParser.cs
- VectorAnimationBase.cs
- XamlPoint3DCollectionSerializer.cs
- DataGridCellClipboardEventArgs.cs
- GridSplitter.cs
- Process.cs
- StringWriter.cs
- TagNameToTypeMapper.cs
- XmlSchemaComplexContentRestriction.cs
- SystemIPv4InterfaceProperties.cs
- ExpressionStringBuilder.cs
- KnownBoxes.cs
- DataContext.cs
- MinMaxParagraphWidth.cs
- BidOverLoads.cs
- ContextConfiguration.cs
- CalendarTable.cs
- GridViewAutomationPeer.cs
- SqlParameterCollection.cs
- NumberFormatter.cs
- FormsAuthenticationUserCollection.cs
- Scalars.cs
- InternalRelationshipCollection.cs
- DataGridCellItemAutomationPeer.cs
- FlowDocumentView.cs
- DefaultTextStoreTextComposition.cs
- ExpressionBinding.cs
- DelegateSerializationHolder.cs
- sqlnorm.cs
- BooleanExpr.cs
- DataListItemCollection.cs
- ExtensionSimplifierMarkupObject.cs
- TaiwanCalendar.cs
- RemotingSurrogateSelector.cs
- RedirectionProxy.cs
- XmlArrayAttribute.cs
- ActionFrame.cs
- OutOfProcStateClientManager.cs
- AssertHelper.cs
- Int64Converter.cs
- GridViewRowEventArgs.cs
- SessionEndingEventArgs.cs
- OrderByLifter.cs
- X509CertificateStore.cs
- UserUseLicenseDictionaryLoader.cs
- ConstantExpression.cs
- RegexInterpreter.cs
- ToolTipService.cs
- SqlDependency.cs
- NamedElement.cs
- CommandID.cs
- ListBoxItemAutomationPeer.cs
- StubHelpers.cs
- HttpCachePolicyElement.cs
- PersistenceTypeAttribute.cs
- UnaryOperationBinder.cs
- BuildProvidersCompiler.cs
- PageSetupDialog.cs
- TableStyle.cs
- DisplayNameAttribute.cs