Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / MS / Internal / KnownBoxes.cs / 1305600 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FontFamily.cs
- GenerateScriptTypeAttribute.cs
- PropertyFilterAttribute.cs
- WizardPanelChangingEventArgs.cs
- MsmqHostedTransportConfiguration.cs
- ToggleButton.cs
- StaticDataManager.cs
- DataGridViewButtonCell.cs
- DeclarativeCatalogPart.cs
- PromptStyle.cs
- UpdatePanel.cs
- JournalNavigationScope.cs
- ScopeElement.cs
- UseManagedPresentationBindingElement.cs
- RawStylusActions.cs
- EntityContainerRelationshipSet.cs
- RowToParametersTransformer.cs
- EventTrigger.cs
- _emptywebproxy.cs
- Content.cs
- RuleElement.cs
- BasicHttpMessageSecurity.cs
- Control.cs
- TagPrefixAttribute.cs
- DocumentGridPage.cs
- RelationshipSet.cs
- Geometry3D.cs
- WebPartDisplayMode.cs
- MultiSelectRootGridEntry.cs
- ThreadStaticAttribute.cs
- TypeConverterAttribute.cs
- IApplicationTrustManager.cs
- HttpClientCertificate.cs
- AstTree.cs
- ServiceModelDictionary.cs
- ObjectPropertyMapping.cs
- TreeViewCancelEvent.cs
- ControlEvent.cs
- NameSpaceExtractor.cs
- SplineKeyFrames.cs
- XamlReader.cs
- Stroke.cs
- StyleSelector.cs
- TextBreakpoint.cs
- HtmlObjectListAdapter.cs
- BaseTemplatedMobileComponentEditor.cs
- CommentEmitter.cs
- EditorZoneDesigner.cs
- Renderer.cs
- BaseUriWithWildcard.cs
- MsdtcClusterUtils.cs
- TargetInvocationException.cs
- selecteditemcollection.cs
- TextTreeFixupNode.cs
- FindCriteria11.cs
- PointValueSerializer.cs
- ListViewInsertedEventArgs.cs
- NegotiationTokenAuthenticator.cs
- EmbeddedMailObject.cs
- RegexRunnerFactory.cs
- ListenerConstants.cs
- HttpRequestWrapper.cs
- HtmlListAdapter.cs
- XmlValidatingReaderImpl.cs
- WorkflowLayouts.cs
- CustomWebEventKey.cs
- StylusCollection.cs
- SQLDateTimeStorage.cs
- HostingPreferredMapPath.cs
- ToolStripDropDownClosingEventArgs.cs
- BindableAttribute.cs
- ModelPropertyImpl.cs
- WebBrowserSiteBase.cs
- FormCollection.cs
- FixedSOMPageConstructor.cs
- XmlJsonReader.cs
- KeyInterop.cs
- CookieParameter.cs
- Identity.cs
- XmlSchemaAll.cs
- TreeNode.cs
- SerializationFieldInfo.cs
- SqlFunctionAttribute.cs
- MessageQueueCriteria.cs
- BuilderElements.cs
- Style.cs
- AbandonedMutexException.cs
- AppearanceEditorPart.cs
- CounterSampleCalculator.cs
- CommonObjectSecurity.cs
- TempFiles.cs
- SqlTriggerAttribute.cs
- TabPage.cs
- NameScopePropertyAttribute.cs
- KnownBoxes.cs
- StateItem.cs
- GcHandle.cs
- RegionData.cs
- HttpModuleAction.cs
- PathFigure.cs