Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / KernelTypeValidation.cs / 1305600 / KernelTypeValidation.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see http://wiki/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
- RoutedEventHandlerInfo.cs
- PrtCap_Base.cs
- XmlSerializationGeneratedCode.cs
- DiagnosticTrace.cs
- SkinBuilder.cs
- XmlCharCheckingReader.cs
- DocumentViewerAutomationPeer.cs
- DataControlButton.cs
- AutoSizeComboBox.cs
- FixedSOMContainer.cs
- FixedNode.cs
- ToolboxItemAttribute.cs
- DeobfuscatingStream.cs
- TypeElement.cs
- ZoneButton.cs
- SimpleType.cs
- CultureInfoConverter.cs
- QuotedStringFormatReader.cs
- ImageCodecInfoPrivate.cs
- Point4DConverter.cs
- SemanticResultKey.cs
- HttpModule.cs
- ViewPort3D.cs
- OdbcEnvironment.cs
- SchemaElementDecl.cs
- SessionIDManager.cs
- SystemIcmpV6Statistics.cs
- DataGridBoolColumn.cs
- ConfigXmlAttribute.cs
- ListViewGroup.cs
- SequentialUshortCollection.cs
- DesignerUtility.cs
- VisualStyleElement.cs
- ToolStripManager.cs
- Msec.cs
- _FtpControlStream.cs
- DocumentNUp.cs
- FontSource.cs
- XmlDataSource.cs
- PageAsyncTaskManager.cs
- MessageOperationFormatter.cs
- _DynamicWinsockMethods.cs
- Size.cs
- FileLoadException.cs
- RuleAction.cs
- PartialCachingAttribute.cs
- Cursor.cs
- DetailsView.cs
- AnnotationDocumentPaginator.cs
- ZipPackage.cs
- Rotation3D.cs
- SoapTypeAttribute.cs
- DesignerRegionCollection.cs
- PenThreadWorker.cs
- WebConfigManager.cs
- SerializationStore.cs
- WSIdentityFaultException.cs
- Operators.cs
- RemotingClientProxy.cs
- _DomainName.cs
- XappLauncher.cs
- ClientCultureInfo.cs
- Size3D.cs
- QilLoop.cs
- DateBoldEvent.cs
- DbDataSourceEnumerator.cs
- Vars.cs
- RegularExpressionValidator.cs
- DispatcherObject.cs
- SourceFileBuildProvider.cs
- ResolveCriteriaApril2005.cs
- ProtocolImporter.cs
- FacetEnabledSchemaElement.cs
- InternalConfigRoot.cs
- WebPartActionVerb.cs
- Debugger.cs
- ToolStripSettings.cs
- SessionSwitchEventArgs.cs
- InvalidWMPVersionException.cs
- TextBreakpoint.cs
- DataContractSerializerMessageContractImporter.cs
- SymLanguageType.cs
- SqlInternalConnection.cs
- ObjectTypeMapping.cs
- CodeTypeMemberCollection.cs
- ParameterReplacerVisitor.cs
- recordstate.cs
- MergablePropertyAttribute.cs
- ProxyHwnd.cs
- DrawingVisual.cs
- TypeDescriptorContext.cs
- ColumnHeaderConverter.cs
- DesignerTransactionCloseEvent.cs
- TransactionTable.cs
- CheckBox.cs
- FixedStringLookup.cs
- SessionEndingEventArgs.cs
- SqlStatistics.cs
- OrderByBuilder.cs
- _ChunkParse.cs