Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- JsonDeserializer.cs
- Boolean.cs
- BitmapSource.cs
- WindowsFormsSectionHandler.cs
- MasterPage.cs
- DesignerSerializationVisibilityAttribute.cs
- Action.cs
- EventLogInternal.cs
- EventMappingSettings.cs
- Task.cs
- ByteStream.cs
- VectorConverter.cs
- XmlUnspecifiedAttribute.cs
- TrimSurroundingWhitespaceAttribute.cs
- EntityDataSourceValidationException.cs
- SelectionPattern.cs
- QueryStack.cs
- BrowserDefinitionCollection.cs
- EmptyEnumerable.cs
- OracleCommand.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- MenuCommand.cs
- CallTemplateAction.cs
- HTMLTextWriter.cs
- HtmlAnchor.cs
- FrameworkElement.cs
- ObjectDataSourceView.cs
- TextSpanModifier.cs
- AdCreatedEventArgs.cs
- AtomEntry.cs
- Int64.cs
- UInt32Converter.cs
- MethodAccessException.cs
- QueryResponse.cs
- ClientSideProviderDescription.cs
- BamlRecordWriter.cs
- RegisteredArrayDeclaration.cs
- CodeStatement.cs
- xmlfixedPageInfo.cs
- NativeMethods.cs
- ECDiffieHellmanCng.cs
- XmlUnspecifiedAttribute.cs
- TableParaClient.cs
- _FtpDataStream.cs
- CodeDomLocalizationProvider.cs
- TemplatePagerField.cs
- OracleConnectionFactory.cs
- AssociationSetMetadata.cs
- NumberFormatInfo.cs
- SystemColors.cs
- glyphs.cs
- LockedAssemblyCache.cs
- CustomExpressionEventArgs.cs
- PrePrepareMethodAttribute.cs
- TagMapInfo.cs
- DiscriminatorMap.cs
- CustomExpression.cs
- CategoryValueConverter.cs
- QuaternionAnimationBase.cs
- DbBuffer.cs
- PartialTrustVisibleAssemblyCollection.cs
- XpsSerializerFactory.cs
- Pointer.cs
- FileEnumerator.cs
- WindowsEditBox.cs
- xml.cs
- SourceLineInfo.cs
- X509Utils.cs
- SharedUtils.cs
- HttpWebRequest.cs
- PictureBoxDesigner.cs
- unitconverter.cs
- EntityDataSourceValidationException.cs
- XPathScanner.cs
- ResourceDefaultValueAttribute.cs
- HttpPostedFile.cs
- CodeDomConfigurationHandler.cs
- IssuedTokenParametersElement.cs
- RepeaterCommandEventArgs.cs
- ProfilePropertyNameValidator.cs
- TableLayoutPanelCodeDomSerializer.cs
- BuilderPropertyEntry.cs
- RubberbandSelector.cs
- UpdateExpressionVisitor.cs
- TransformGroup.cs
- ChangeTracker.cs
- TextDecorationUnitValidation.cs
- Constraint.cs
- ResourceExpressionBuilder.cs
- MimeParameter.cs
- UnsafeNativeMethods.cs
- CanonicalFontFamilyReference.cs
- FrugalList.cs
- SqlEnums.cs
- XmlSchemaComplexContentExtension.cs
- TimeoutException.cs
- AttributedMetaModel.cs
- SecurityKeyEntropyMode.cs
- GlyphRunDrawing.cs
- Size.cs