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
- TextRangeSerialization.cs
- ComPlusServiceHost.cs
- XmlReader.cs
- DeferredSelectedIndexReference.cs
- BridgeDataRecord.cs
- Stacktrace.cs
- ValidatorCompatibilityHelper.cs
- FontStyle.cs
- SimplePropertyEntry.cs
- PrintDialog.cs
- WebResourceAttribute.cs
- SynchronizedDispatch.cs
- ResourceManager.cs
- DocumentViewerHelper.cs
- DataGridViewAdvancedBorderStyle.cs
- FormatException.cs
- DesignParameter.cs
- IndexedGlyphRun.cs
- EventSinkHelperWriter.cs
- CheckBoxBaseAdapter.cs
- Variable.cs
- MemberMemberBinding.cs
- TemplateField.cs
- Image.cs
- PixelFormat.cs
- DataBoundControlHelper.cs
- DefaultObjectMappingItemCollection.cs
- BindingCompleteEventArgs.cs
- WinHttpWebProxyFinder.cs
- CallInfo.cs
- TypeUtil.cs
- DataRowView.cs
- webeventbuffer.cs
- MenuItem.cs
- CharacterHit.cs
- XmlComplianceUtil.cs
- SerializationTrace.cs
- GcSettings.cs
- StateManagedCollection.cs
- CodeNamespace.cs
- TextWriter.cs
- Knowncolors.cs
- SqlEnums.cs
- ScalarOps.cs
- FastPropertyAccessor.cs
- ScrollProperties.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- InfoCardX509Validator.cs
- mansign.cs
- NumericExpr.cs
- ConfigurationSectionCollection.cs
- BamlRecordHelper.cs
- IRCollection.cs
- CollectionChangeEventArgs.cs
- XamlToRtfParser.cs
- WebFormDesignerActionService.cs
- OledbConnectionStringbuilder.cs
- PassportIdentity.cs
- HttpWriter.cs
- PrintDialog.cs
- SerialPinChanges.cs
- ListSourceHelper.cs
- GlobalDataBindingHandler.cs
- ToolStripItemDesigner.cs
- MemoryRecordBuffer.cs
- CodeAccessPermission.cs
- PerspectiveCamera.cs
- TreeView.cs
- Stylesheet.cs
- SQlBooleanStorage.cs
- GridViewRowCollection.cs
- DataGridViewCellCollection.cs
- TransformPatternIdentifiers.cs
- AttributeCollection.cs
- BehaviorEditorPart.cs
- datacache.cs
- CornerRadius.cs
- GeneralTransform3DTo2DTo3D.cs
- GridViewRowEventArgs.cs
- Win32Exception.cs
- ContentPathSegment.cs
- CfgRule.cs
- _SSPISessionCache.cs
- COM2EnumConverter.cs
- HtmlShimManager.cs
- AttachedPropertiesService.cs
- LinqDataSourceContextEventArgs.cs
- SafeFileMapViewHandle.cs
- UInt64Converter.cs
- ClientSponsor.cs
- ActivityInterfaces.cs
- DbConnectionPool.cs
- QilScopedVisitor.cs
- CharAnimationUsingKeyFrames.cs
- DefaultPrintController.cs
- AttributeEmitter.cs
- RSAPKCS1SignatureFormatter.cs
- ConfigXmlText.cs
- FileResponseElement.cs
- DynamicUpdateCommand.cs