Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / CodeDOM / CodeMemberField.cs / 1 / CodeMemberField.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeMemberField : CodeTypeMember { private CodeTypeReference type; private CodeExpression initExpression; ////// Represents a class field member. /// ////// public CodeMemberField() { } ////// Initializes a new ///. /// /// public CodeMemberField(CodeTypeReference type, string name) { Type = type; Name = name; } ////// Initializes a new ///with the specified member field type and /// name. /// /// public CodeMemberField(string type, string name) { Type = new CodeTypeReference(type); Name = name; } ///[To be supplied.] ////// public CodeMemberField(Type type, string name) { Type = new CodeTypeReference(type); Name = name; } ///[To be supplied.] ////// public CodeTypeReference Type { get { if (type == null) { type = new CodeTypeReference(""); } return type; } set { type = value; } } ////// Gets or sets the member field type. /// ////// public CodeExpression InitExpression { get { return initExpression; } set { initExpression = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the initialization expression for the member field. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeMemberField : CodeTypeMember { private CodeTypeReference type; private CodeExpression initExpression; ////// Represents a class field member. /// ////// public CodeMemberField() { } ////// Initializes a new ///. /// /// public CodeMemberField(CodeTypeReference type, string name) { Type = type; Name = name; } ////// Initializes a new ///with the specified member field type and /// name. /// /// public CodeMemberField(string type, string name) { Type = new CodeTypeReference(type); Name = name; } ///[To be supplied.] ////// public CodeMemberField(Type type, string name) { Type = new CodeTypeReference(type); Name = name; } ///[To be supplied.] ////// public CodeTypeReference Type { get { if (type == null) { type = new CodeTypeReference(""); } return type; } set { type = value; } } ////// Gets or sets the member field type. /// ////// public CodeExpression InitExpression { get { return initExpression; } set { initExpression = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets the initialization expression for the member field. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BrowserCapabilitiesCompiler.cs
- XmlTextAttribute.cs
- MD5CryptoServiceProvider.cs
- LinearKeyFrames.cs
- LambdaCompiler.Logical.cs
- Rotation3D.cs
- CompilationSection.cs
- IsolatedStorageFileStream.cs
- ToolboxBitmapAttribute.cs
- SoapHttpTransportImporter.cs
- MeshGeometry3D.cs
- RegexTypeEditor.cs
- CompatibleComparer.cs
- SchemaImporterExtensionElementCollection.cs
- ColorIndependentAnimationStorage.cs
- VirtualizingPanel.cs
- ISFTagAndGuidCache.cs
- DecimalStorage.cs
- PcmConverter.cs
- MultipartIdentifier.cs
- SqlParameterizer.cs
- PrintDialogException.cs
- WindowClosedEventArgs.cs
- CmsInterop.cs
- BuildProvider.cs
- XamlVector3DCollectionSerializer.cs
- LabelAutomationPeer.cs
- ZipIOFileItemStream.cs
- EventLogPermissionEntry.cs
- QilLoop.cs
- TrustSection.cs
- BaseParser.cs
- IERequestCache.cs
- PeerInvitationResponse.cs
- SkinBuilder.cs
- Mouse.cs
- webeventbuffer.cs
- DataGridViewCheckBoxCell.cs
- ReadOnlyHierarchicalDataSource.cs
- DataGridViewUtilities.cs
- ReflectionServiceProvider.cs
- Label.cs
- XPathSelfQuery.cs
- NGCSerializer.cs
- OracleConnectionString.cs
- Point3DAnimationUsingKeyFrames.cs
- NotFiniteNumberException.cs
- Form.cs
- Cloud.cs
- IdentityReference.cs
- DataGridViewImageColumn.cs
- HostVisual.cs
- DataGridViewCellStyleChangedEventArgs.cs
- ObfuscateAssemblyAttribute.cs
- XmlDataSourceNodeDescriptor.cs
- DeclaredTypeValidatorAttribute.cs
- InvalidContentTypeException.cs
- AspNetCompatibilityRequirementsMode.cs
- XsltException.cs
- SmiGettersStream.cs
- FileInfo.cs
- EntityConnection.cs
- ButtonBaseAdapter.cs
- ModelFunctionTypeElement.cs
- WindowsHyperlink.cs
- CollectionViewSource.cs
- PersonalizationProviderCollection.cs
- _CacheStreams.cs
- ImageMetadata.cs
- XPathSelectionIterator.cs
- RuntimeCompatibilityAttribute.cs
- SynchronizingStream.cs
- ErrorHandler.cs
- RefExpr.cs
- SystemIPInterfaceProperties.cs
- MenuAdapter.cs
- ChameleonKey.cs
- SerializationBinder.cs
- MostlySingletonList.cs
- DataRowCollection.cs
- ProcessStartInfo.cs
- CodeAttributeArgument.cs
- InfoCardCryptoHelper.cs
- Effect.cs
- ExpressionNormalizer.cs
- ReaderWriterLockSlim.cs
- CompareValidator.cs
- CharKeyFrameCollection.cs
- PeerCustomResolverElement.cs
- Options.cs
- ProfileParameter.cs
- SchemaImporterExtensionElement.cs
- Delegate.cs
- RedirectionProxy.cs
- Internal.cs
- Italic.cs
- UnmanagedHandle.cs
- SqlComparer.cs
- RealProxy.cs
- MailHeaderInfo.cs