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
- ViewManager.cs
- SmtpReplyReaderFactory.cs
- _ChunkParse.cs
- TemplatePagerField.cs
- DbParameterHelper.cs
- AttachmentService.cs
- AvTraceFormat.cs
- DefaultSettingsSection.cs
- InfoCardAsymmetricCrypto.cs
- PointCollection.cs
- ElementProxy.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- ByteStack.cs
- HighContrastHelper.cs
- HighlightComponent.cs
- XmlSerializerFactory.cs
- CreatingCookieEventArgs.cs
- CompareValidator.cs
- RepeatButtonAutomationPeer.cs
- PersonalizationState.cs
- ValidationEventArgs.cs
- ReflectionHelper.cs
- PeerSecurityManager.cs
- SecurityDescriptor.cs
- PropertyChange.cs
- FontDifferentiator.cs
- WaitForChangedResult.cs
- NavigationProgressEventArgs.cs
- IisTraceWebEventProvider.cs
- GorillaCodec.cs
- DataSourceControl.cs
- Condition.cs
- BaseComponentEditor.cs
- MetadataCache.cs
- WindowsAltTab.cs
- GenericPrincipal.cs
- Models.cs
- ConfigurationValues.cs
- nulltextcontainer.cs
- SortedDictionary.cs
- GenericNameHandler.cs
- ExtendedProtectionPolicy.cs
- InheritedPropertyDescriptor.cs
- PropertyStore.cs
- StructuredTypeEmitter.cs
- Rfc2898DeriveBytes.cs
- NavigationCommands.cs
- CodeDomSerializer.cs
- PolyBezierSegmentFigureLogic.cs
- InvokeGenerator.cs
- CodeTypeReferenceCollection.cs
- MimeFormatExtensions.cs
- Identity.cs
- ImageKeyConverter.cs
- ObjectDataSourceWizardForm.cs
- XPathConvert.cs
- SqlCommandSet.cs
- RelatedView.cs
- CopyCodeAction.cs
- WorkflowDesigner.cs
- securitycriticaldataClass.cs
- MatrixTransform.cs
- TemplateBindingExpressionConverter.cs
- SqlDataSourceView.cs
- Menu.cs
- XmlSchema.cs
- ApplicationManager.cs
- AlphaSortedEnumConverter.cs
- SpeechAudioFormatInfo.cs
- MachineKeyConverter.cs
- ConversionContext.cs
- NativeCppClassAttribute.cs
- WindowsAuthenticationEventArgs.cs
- ProcessHost.cs
- ObjectDataProvider.cs
- ResXResourceSet.cs
- ScriptModule.cs
- NameValueConfigurationCollection.cs
- SettingsPropertyWrongTypeException.cs
- OlePropertyStructs.cs
- MessageQueuePermissionAttribute.cs
- IdentitySection.cs
- SourceFilter.cs
- CustomAttributeFormatException.cs
- FilterableData.cs
- XslException.cs
- XmlEncoding.cs
- JsonSerializer.cs
- ExtensionWindow.cs
- BreakRecordTable.cs
- XhtmlTextWriter.cs
- SafeMemoryMappedFileHandle.cs
- XmlSignatureManifest.cs
- RangeValidator.cs
- DateTimeUtil.cs
- ClientSettingsSection.cs
- EditorZone.cs
- RegistryPermission.cs
- StringInfo.cs
- Drawing.cs