Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- BitmapSource.cs
- HtmlInputSubmit.cs
- ExeConfigurationFileMap.cs
- TextCompositionEventArgs.cs
- HyperLinkColumn.cs
- SharedPersonalizationStateInfo.cs
- Util.cs
- CssTextWriter.cs
- LeaseManager.cs
- UrlAuthorizationModule.cs
- UrlAuthorizationModule.cs
- SafeNativeMethods.cs
- WebBrowser.cs
- ScaleTransform3D.cs
- GenericAuthenticationEventArgs.cs
- ExtenderProvidedPropertyAttribute.cs
- OpenTypeCommon.cs
- RulePatternOps.cs
- ComponentSerializationService.cs
- Rss20ItemFormatter.cs
- PrivateFontCollection.cs
- RtfControlWordInfo.cs
- CharEntityEncoderFallback.cs
- AuthenticationManager.cs
- AsyncCompletedEventArgs.cs
- IncrementalHitTester.cs
- HitTestWithGeometryDrawingContextWalker.cs
- DbException.cs
- PolicyException.cs
- EncryptedKeyIdentifierClause.cs
- XsltQilFactory.cs
- PaintEvent.cs
- SQLString.cs
- CodeNamespaceImportCollection.cs
- XmlTextReaderImplHelpers.cs
- TableLayout.cs
- HttpRequestCacheValidator.cs
- EmptyReadOnlyDictionaryInternal.cs
- UnicodeEncoding.cs
- BasicExpandProvider.cs
- DoubleAnimationUsingKeyFrames.cs
- InheritablePropertyChangeInfo.cs
- DataGridViewImageColumn.cs
- ManipulationCompletedEventArgs.cs
- GenericNameHandler.cs
- NegatedCellConstant.cs
- WorkflowTransactionOptions.cs
- BmpBitmapDecoder.cs
- StylusSystemGestureEventArgs.cs
- KnowledgeBase.cs
- AdapterDictionary.cs
- HttpDictionary.cs
- IndependentAnimationStorage.cs
- SelectionListComponentEditor.cs
- URLAttribute.cs
- FunctionDescription.cs
- ExecutionEngineException.cs
- BamlResourceContent.cs
- EnumConverter.cs
- MemberCollection.cs
- Symbol.cs
- Encoder.cs
- SizeConverter.cs
- IsolatedStorageFile.cs
- DateTimeSerializationSection.cs
- ContextActivityUtils.cs
- RemotingSurrogateSelector.cs
- BindStream.cs
- BlurBitmapEffect.cs
- TextBoxBase.cs
- SystemTcpStatistics.cs
- CompilerLocalReference.cs
- BooleanStorage.cs
- ExtensibleClassFactory.cs
- TextServicesContext.cs
- UnsafeNativeMethods.cs
- GeneratedCodeAttribute.cs
- ContentAlignmentEditor.cs
- BezierSegment.cs
- UnionExpr.cs
- AnnotationResource.cs
- QueryContinueDragEventArgs.cs
- ExceptionHandlersDesigner.cs
- Win32.cs
- ReversePositionQuery.cs
- ErrorStyle.cs
- ApplicationTrust.cs
- NumberSubstitution.cs
- List.cs
- CreateUserWizard.cs
- Button.cs
- DataGridViewHitTestInfo.cs
- CubicEase.cs
- ControlIdConverter.cs
- SymmetricKey.cs
- DurationConverter.cs
- XamlPointCollectionSerializer.cs
- ThrowOnMultipleAssignment.cs
- ModelTypeConverter.cs
- Vector3DCollectionConverter.cs