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
- JsonSerializer.cs
- TableLayoutPanelResizeGlyph.cs
- MediaSystem.cs
- CounterCreationDataCollection.cs
- Char.cs
- FontDialog.cs
- VirtualizedCellInfoCollection.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- SafeRegistryKey.cs
- ReferenceService.cs
- IntSecurity.cs
- FormatterConverter.cs
- XmlSchemaProviderAttribute.cs
- ActivityStateRecord.cs
- IPipelineRuntime.cs
- TaiwanCalendar.cs
- ChildTable.cs
- DynamicActionMessageFilter.cs
- PassportPrincipal.cs
- CanonicalXml.cs
- HandlerFactoryWrapper.cs
- WaitHandleCannotBeOpenedException.cs
- Point.cs
- AffineTransform3D.cs
- Property.cs
- NeutralResourcesLanguageAttribute.cs
- WrappedIUnknown.cs
- Config.cs
- MainMenu.cs
- ObjectReaderCompiler.cs
- NameScope.cs
- XmlMapping.cs
- TextFormatter.cs
- SystemResourceHost.cs
- MappingItemCollection.cs
- UpdateProgress.cs
- TrackingRecord.cs
- FrameworkTemplate.cs
- WizardForm.cs
- DefaultTextStoreTextComposition.cs
- AspProxy.cs
- BamlTreeUpdater.cs
- NotifyCollectionChangedEventArgs.cs
- AvTraceDetails.cs
- FixUp.cs
- NullableIntAverageAggregationOperator.cs
- SqlStream.cs
- XmlDataSourceView.cs
- WinInetCache.cs
- AutomationTextAttribute.cs
- SystemException.cs
- PreviousTrackingServiceAttribute.cs
- Help.cs
- CookieParameter.cs
- ProviderCollection.cs
- ThrowHelper.cs
- DeclarativeCatalogPart.cs
- NativeObjectSecurity.cs
- RequestStatusBarUpdateEventArgs.cs
- GridViewAutomationPeer.cs
- InputChannelBinder.cs
- PartManifestEntry.cs
- ToolboxControl.cs
- SqlOuterApplyReducer.cs
- PlainXmlSerializer.cs
- RadioButtonPopupAdapter.cs
- CodeTypeReferenceExpression.cs
- UserControl.cs
- QueuePathEditor.cs
- RawStylusSystemGestureInputReport.cs
- ParameterModifier.cs
- HitTestResult.cs
- UrlAuthorizationModule.cs
- PixelFormatConverter.cs
- TransformedBitmap.cs
- SafeLibraryHandle.cs
- TextSelectionProcessor.cs
- WebServiceParameterData.cs
- FilePrompt.cs
- FixedSOMTable.cs
- _NegotiateClient.cs
- SecurityPolicyVersion.cs
- Rules.cs
- SimpleModelProvider.cs
- SafeUserTokenHandle.cs
- QuotedPrintableStream.cs
- MailMessageEventArgs.cs
- BitmapPalette.cs
- PermissionSet.cs
- TimeZone.cs
- MetadataExchangeClient.cs
- WCFBuildProvider.cs
- ApplicationFileCodeDomTreeGenerator.cs
- MasterPage.cs
- DynamicUpdateCommand.cs
- CodeAssignStatement.cs
- RewritingProcessor.cs
- SafeEventLogWriteHandle.cs
- ObfuscateAssemblyAttribute.cs
- KoreanLunisolarCalendar.cs