Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / Generated / KernelTypeValidation.cs / 1 / KernelTypeValidation.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see [....]/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- #if PRESENTATION_CORE using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; #else using SR=System.Windows.SR; using SRID=System.Windows.SRID; #endif namespace System.Windows.Media.Effects { internal static partial class ValidateEnums { ////// Returns whether or not an enumeration instance a valid value. /// This method is designed to be used with ValidateValueCallback, and thus /// matches it's prototype. /// /// /// Enumeration value to validate. /// ///'true' if the enumeration contains a valid value, 'false' otherwise. public static bool IsKernelTypeValid(object valueObject) { KernelType value = (KernelType) valueObject; return (value == KernelType.Gaussian) || (value == KernelType.Box); } } } // 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
- TransportBindingElementImporter.cs
- StylusTip.cs
- EditorPart.cs
- UTF8Encoding.cs
- DataSourceCache.cs
- BooleanFunctions.cs
- DateTimeUtil.cs
- FileInfo.cs
- MetabaseServerConfig.cs
- OrthographicCamera.cs
- FormsAuthenticationConfiguration.cs
- IndexedString.cs
- WindowExtensionMethods.cs
- DocComment.cs
- PartitionerQueryOperator.cs
- ToolStripInSituService.cs
- FlowDocumentPage.cs
- CodeTypeReferenceExpression.cs
- PointConverter.cs
- DataSourceCache.cs
- CodeDefaultValueExpression.cs
- XamlVector3DCollectionSerializer.cs
- FileLevelControlBuilderAttribute.cs
- SQLDecimalStorage.cs
- DataPagerFieldCollection.cs
- StateValidator.cs
- KeySplineConverter.cs
- ObjectSelectorEditor.cs
- LinkClickEvent.cs
- ConvertEvent.cs
- XmlAttributeCache.cs
- SmiMetaData.cs
- InputLangChangeRequestEvent.cs
- CuspData.cs
- SequenceDesignerAccessibleObject.cs
- SoapTypeAttribute.cs
- filewebrequest.cs
- FlowDocument.cs
- AddingNewEventArgs.cs
- XmlDigitalSignatureProcessor.cs
- ToolStripScrollButton.cs
- XmlCDATASection.cs
- StyleTypedPropertyAttribute.cs
- WebServiceMethodData.cs
- SafeNativeMethodsCLR.cs
- TreeViewCancelEvent.cs
- SerialReceived.cs
- WhiteSpaceTrimStringConverter.cs
- XamlSerializationHelper.cs
- ImportCatalogPart.cs
- RightsManagementInformation.cs
- HttpsChannelFactory.cs
- RemotingService.cs
- DriveInfo.cs
- XmlSchemaSimpleContentExtension.cs
- BulletedListEventArgs.cs
- EmptyStringExpandableObjectConverter.cs
- DomNameTable.cs
- FixedSOMImage.cs
- EntityDataSourceChangedEventArgs.cs
- MatrixStack.cs
- cryptoapiTransform.cs
- ConnectionManagementSection.cs
- InheritanceContextChangedEventManager.cs
- ToolStripDropDownClosedEventArgs.cs
- SqlClientWrapperSmiStream.cs
- TraceContextRecord.cs
- QueryableFilterRepeater.cs
- MarkupExtensionReturnTypeAttribute.cs
- SendMailErrorEventArgs.cs
- NullPackagingPolicy.cs
- ChannelManager.cs
- DataGridRow.cs
- UriTemplateQueryValue.cs
- UTF32Encoding.cs
- EventBuilder.cs
- IndentTextWriter.cs
- HttpGetClientProtocol.cs
- FormsAuthenticationCredentials.cs
- LineServicesRun.cs
- DataGridPageChangedEventArgs.cs
- DependencyObjectProvider.cs
- HWStack.cs
- GenerateTemporaryTargetAssembly.cs
- WebPartPersonalization.cs
- DataGridViewButtonColumn.cs
- SmiContext.cs
- OutputScopeManager.cs
- SecurityRuntime.cs
- ReferenceService.cs
- SchemaInfo.cs
- PropertyKey.cs
- DbCommandTree.cs
- OverflowException.cs
- AsyncSerializedWorker.cs
- SelectionWordBreaker.cs
- DataKey.cs
- XmlLoader.cs
- RequestCachingSection.cs
- pingexception.cs