Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// 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
- IImplicitResourceProvider.cs
- Authorization.cs
- InfoCardTrace.cs
- FormsAuthentication.cs
- propertytag.cs
- RandomNumberGenerator.cs
- ParallelTimeline.cs
- XomlCompilerHelpers.cs
- GlobalEventManager.cs
- InstanceKeyNotReadyException.cs
- SimpleRecyclingCache.cs
- MappingItemCollection.cs
- StringExpressionSet.cs
- DataTable.cs
- CodeAttachEventStatement.cs
- AutomationPatternInfo.cs
- Run.cs
- ContentIterators.cs
- XmlNamespaceMapping.cs
- PermissionSetTriple.cs
- SharedPerformanceCounter.cs
- ToolboxDataAttribute.cs
- NativeMethods.cs
- SkewTransform.cs
- ConstraintEnumerator.cs
- PageSettings.cs
- WCFModelStrings.Designer.cs
- MgmtResManager.cs
- WebPartDisplayMode.cs
- InvokePattern.cs
- DataGridViewSelectedColumnCollection.cs
- BinaryNode.cs
- SectionUpdates.cs
- BuilderPropertyEntry.cs
- _ListenerResponseStream.cs
- ProtocolsInstallComponent.cs
- AssociatedControlConverter.cs
- PointLightBase.cs
- ModifierKeysValueSerializer.cs
- SignedXml.cs
- TraceSwitch.cs
- ClassDataContract.cs
- Point3DConverter.cs
- ToolStripScrollButton.cs
- MultiTrigger.cs
- StackSpiller.cs
- PackageRelationshipCollection.cs
- FormsIdentity.cs
- Mouse.cs
- AsyncContentLoadedEventArgs.cs
- Graphics.cs
- SortedDictionary.cs
- WmlMobileTextWriter.cs
- ListViewUpdateEventArgs.cs
- TrackingMemoryStream.cs
- Pair.cs
- DataGridViewLayoutData.cs
- XmlTypeAttribute.cs
- DesignerActionKeyboardBehavior.cs
- XmlSchemaExternal.cs
- Line.cs
- TrackingMemoryStream.cs
- PerformanceCounterLib.cs
- DataGridViewComboBoxColumnDesigner.cs
- BindingWorker.cs
- hebrewshape.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- GlyphManager.cs
- NeedSkipTokenVisitor.cs
- MessageAction.cs
- InlineCollection.cs
- DesignTimeParseData.cs
- PersistenceTypeAttribute.cs
- XmlLinkedNode.cs
- MailAddressParser.cs
- SrgsDocumentParser.cs
- dbenumerator.cs
- TypeHelper.cs
- DbConnectionInternal.cs
- StringFreezingAttribute.cs
- WinCategoryAttribute.cs
- DataExpression.cs
- DesignerActionService.cs
- EditorPartCollection.cs
- WorkflowLayouts.cs
- TextBox.cs
- SettingsProperty.cs
- PropertyCondition.cs
- SByte.cs
- ListViewInsertionMark.cs
- ToolStripContentPanelRenderEventArgs.cs
- ParameterCollection.cs
- BinaryFormatter.cs
- DrawingGroup.cs
- BuildTopDownAttribute.cs
- XPathConvert.cs
- HtmlInputImage.cs
- TextRangeBase.cs
- PackageDigitalSignature.cs
- XmlSchemaInferenceException.cs