Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Base / MS / Internal / KnownBoxes.cs / 1 / KnownBoxes.cs
using System; using MS.Internal.WindowsBase; namespace MS.Internal.KnownBoxes { [FriendAccessAllowed] // Built into Base, also used by Core and Framework. internal static class BooleanBoxes { internal static object TrueBox = true; internal static object FalseBox = false; internal static object Box(bool value) { if (value) { return TrueBox; } else { return FalseBox; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using MS.Internal.WindowsBase; namespace MS.Internal.KnownBoxes { [FriendAccessAllowed] // Built into Base, also used by Core and Framework. internal static class BooleanBoxes { internal static object TrueBox = true; internal static object FalseBox = false; internal static object Box(bool value) { if (value) { return TrueBox; } else { return FalseBox; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EntitySetBaseCollection.cs
- WsdlHelpGeneratorElement.cs
- TraceLevelHelper.cs
- Rfc2898DeriveBytes.cs
- OperationInfoBase.cs
- XPathCompiler.cs
- DictionaryMarkupSerializer.cs
- WinFormsSecurity.cs
- QueryRewriter.cs
- InitializerFacet.cs
- XmlValueConverter.cs
- PropertyKey.cs
- ObjectAnimationUsingKeyFrames.cs
- OracleBFile.cs
- ResXResourceReader.cs
- XmlSchemaSimpleContent.cs
- KeyboardNavigation.cs
- MdImport.cs
- EncodingInfo.cs
- ModelItemCollection.cs
- DescriptionAttribute.cs
- ImageSourceConverter.cs
- TypedTableBaseExtensions.cs
- Module.cs
- OdbcParameterCollection.cs
- XamlReaderHelper.cs
- GeneralTransform2DTo3D.cs
- ThreadExceptionDialog.cs
- Tracking.cs
- PropertyGeneratedEventArgs.cs
- RequiredAttributeAttribute.cs
- TextParagraph.cs
- PropertyTabAttribute.cs
- ScriptingRoleServiceSection.cs
- ToolStripSystemRenderer.cs
- ProviderBase.cs
- ClosureBinding.cs
- LateBoundBitmapDecoder.cs
- CompoundFileIOPermission.cs
- RectangleGeometry.cs
- BrowserTree.cs
- CharEnumerator.cs
- NetworkStream.cs
- TableLayoutStyleCollection.cs
- WebServiceData.cs
- PeerObject.cs
- ConfigsHelper.cs
- ReservationCollection.cs
- MasterPage.cs
- InputScopeConverter.cs
- SignatureTargetIdManager.cs
- HandlerMappingMemo.cs
- CompiledQuery.cs
- ReceiveCompletedEventArgs.cs
- SqlRetyper.cs
- ReferenceConverter.cs
- BasicHttpMessageSecurityElement.cs
- querybuilder.cs
- HWStack.cs
- OverlappedAsyncResult.cs
- ProgressBarAutomationPeer.cs
- NameValueConfigurationCollection.cs
- XmlCompatibilityReader.cs
- OperationAbortedException.cs
- RenderData.cs
- HelpKeywordAttribute.cs
- StatusBar.cs
- TypeSource.cs
- BrowserCapabilitiesFactoryBase.cs
- KeyValuePairs.cs
- ListControlConvertEventArgs.cs
- WsrmFault.cs
- ConvertBinder.cs
- LineServices.cs
- TextInfo.cs
- ContainerCodeDomSerializer.cs
- ProgressPage.cs
- WeakHashtable.cs
- BridgeDataRecord.cs
- RegexTree.cs
- TextElementAutomationPeer.cs
- StylusDevice.cs
- RadioButton.cs
- Config.cs
- DesignerAttribute.cs
- ParenthesizePropertyNameAttribute.cs
- WsiProfilesElementCollection.cs
- StrongTypingException.cs
- WebPartTransformerAttribute.cs
- SetterBaseCollection.cs
- mda.cs
- CommandBindingCollection.cs
- GradientSpreadMethodValidation.cs
- AuthenticateEventArgs.cs
- IisTraceWebEventProvider.cs
- DBCSCodePageEncoding.cs
- CodeAttributeArgument.cs
- WsdlInspector.cs
- PriorityQueue.cs
- TaskFormBase.cs