Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeMemberField.cs / 1305376 / CodeMemberField.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- ObjectListFieldsPage.cs
- ExpressionBuilder.cs
- BamlReader.cs
- ColumnResult.cs
- CodeDefaultValueExpression.cs
- WebPartsSection.cs
- SkipStoryboardToFill.cs
- HttpSocketManager.cs
- TemplateBindingExpressionConverter.cs
- NavigationExpr.cs
- NaturalLanguageHyphenator.cs
- DateTimeSerializationSection.cs
- BrowserCapabilitiesFactoryBase.cs
- WebControlsSection.cs
- FreezableOperations.cs
- CallSiteOps.cs
- WebPageTraceListener.cs
- HtmlUtf8RawTextWriter.cs
- VectorConverter.cs
- PeerCredential.cs
- XMLDiffLoader.cs
- AsymmetricSecurityProtocolFactory.cs
- Hex.cs
- EventRoute.cs
- AbstractExpressions.cs
- CompilerGeneratedAttribute.cs
- SparseMemoryStream.cs
- WebContext.cs
- XmlChildNodes.cs
- FontInfo.cs
- Context.cs
- TextChangedEventArgs.cs
- XmlCDATASection.cs
- GeometryGroup.cs
- ForeignKeyConstraint.cs
- SQLUtility.cs
- EntityDataSourceView.cs
- Span.cs
- PageParser.cs
- StorageSetMapping.cs
- NotImplementedException.cs
- PrinterSettings.cs
- Int16AnimationBase.cs
- RenamedEventArgs.cs
- ContainerActivationHelper.cs
- HtmlInputImage.cs
- DesignerActionList.cs
- FocusChangedEventArgs.cs
- BindingMAnagerBase.cs
- XmlValidatingReaderImpl.cs
- ColorIndependentAnimationStorage.cs
- DataGridViewCell.cs
- PrePostDescendentsWalker.cs
- CommandManager.cs
- ThemeDirectoryCompiler.cs
- ExceptionAggregator.cs
- MetadataCollection.cs
- TextPenaltyModule.cs
- Permission.cs
- ProxySimple.cs
- ButtonFieldBase.cs
- WebPartEditVerb.cs
- EntryIndex.cs
- HitTestResult.cs
- Run.cs
- MetadataCache.cs
- ImmutablePropertyDescriptorGridEntry.cs
- Triplet.cs
- ListenerSessionConnectionReader.cs
- AvTraceDetails.cs
- LayoutTable.cs
- DeferredElementTreeState.cs
- TagMapInfo.cs
- CodeMemberMethod.cs
- EntityContainer.cs
- TransactionalPackage.cs
- PrintDialogException.cs
- RepeaterItemEventArgs.cs
- UriSection.cs
- KeyInterop.cs
- AdPostCacheSubstitution.cs
- XmlSchemaAppInfo.cs
- UserControl.cs
- SubMenuStyle.cs
- CannotUnloadAppDomainException.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- DataGridViewCellCollection.cs
- BuildDependencySet.cs
- CheckBoxFlatAdapter.cs
- AudioSignalProblemOccurredEventArgs.cs
- SpellerHighlightLayer.cs
- WorkflowOperationFault.cs
- Variable.cs
- NativeMethods.cs
- ChainedAsyncResult.cs
- Point4DConverter.cs
- DataGridTableCollection.cs
- RuleSettings.cs
- CqlQuery.cs
- VectorAnimationUsingKeyFrames.cs