Code:
/ 4.0 / 4.0 / 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. 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
- XhtmlBasicCommandAdapter.cs
- RangeValidator.cs
- MappingItemCollection.cs
- CardSpaceSelector.cs
- CalendarTable.cs
- AncestorChangedEventArgs.cs
- WebPartMovingEventArgs.cs
- _IPv6Address.cs
- SQLStringStorage.cs
- DependencyPropertyKind.cs
- BinaryObjectWriter.cs
- FilteredReadOnlyMetadataCollection.cs
- SqlSelectStatement.cs
- FixedDocument.cs
- _AuthenticationState.cs
- ellipse.cs
- BuildManager.cs
- PublisherIdentityPermission.cs
- ListViewTableCell.cs
- JsonStringDataContract.cs
- FeedUtils.cs
- SqlComparer.cs
- MgmtConfigurationRecord.cs
- XmlNodeList.cs
- Utils.cs
- DbgUtil.cs
- ObjectPersistData.cs
- ValueOfAction.cs
- WindowsTreeView.cs
- CompilerErrorCollection.cs
- CroppedBitmap.cs
- SafeHandles.cs
- SymLanguageType.cs
- Panel.cs
- UnionCqlBlock.cs
- KeyGesture.cs
- ITextView.cs
- WebEventTraceProvider.cs
- PropertyGroupDescription.cs
- StrokeCollectionDefaultValueFactory.cs
- JsonReaderWriterFactory.cs
- QueryContinueDragEvent.cs
- mda.cs
- WorkflowMarkupSerializer.cs
- ColumnPropertiesGroup.cs
- WebPartTransformerCollection.cs
- HttpCookieCollection.cs
- PartManifestEntry.cs
- LoginCancelEventArgs.cs
- StrokeNodeOperations.cs
- PointLightBase.cs
- ICollection.cs
- ResolvedKeyFrameEntry.cs
- SqlCacheDependency.cs
- ViewStateException.cs
- UriTemplateQueryValue.cs
- ProtectedProviderSettings.cs
- ProtocolElementCollection.cs
- TrustManagerMoreInformation.cs
- KnownBoxes.cs
- ProxyWebPartConnectionCollection.cs
- EqualityComparer.cs
- TextOnlyOutput.cs
- DesignerAttribute.cs
- BamlRecordWriter.cs
- Menu.cs
- TextRangeEdit.cs
- WinInetCache.cs
- MetadataStore.cs
- AppSettingsSection.cs
- LeafCellTreeNode.cs
- ErrorTableItemStyle.cs
- BlurBitmapEffect.cs
- Brush.cs
- SR.cs
- ArraySubsetEnumerator.cs
- Intellisense.cs
- MsmqIntegrationSecurityMode.cs
- AuthorizationSection.cs
- StringResourceManager.cs
- BitmapEffectDrawingContextWalker.cs
- UnionCqlBlock.cs
- SqlDataReaderSmi.cs
- HitTestWithPointDrawingContextWalker.cs
- ComponentResourceManager.cs
- DragCompletedEventArgs.cs
- RemotingException.cs
- DynamicRendererThreadManager.cs
- CustomAttribute.cs
- Visitor.cs
- Stack.cs
- SplineKeyFrames.cs
- SharedUtils.cs
- RepeatInfo.cs
- Root.cs
- MaterialCollection.cs
- HttpAsyncResult.cs
- ParallelTimeline.cs
- SessionEndingCancelEventArgs.cs
- MdImport.cs