Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Speech / Src / Recognition / SrgsGrammar / SrgsRulesCollection.cs / 1 / SrgsRulesCollection.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: // // History: // 5/1/2004 [....] //--------------------------------------------------------------------------- using System; using System.Collections.ObjectModel; using System.Speech.Internal; namespace System.Speech.Recognition.SrgsGrammar { ////// Summary description for Rules. /// [Serializable] public sealed class SrgsRulesCollection : KeyedCollection{ /// /// TODOC /// /// public void Add (params SrgsRule [] rules) { Helpers.ThrowIfNull (rules, "rules"); for (int iRule = 0; iRule < rules.Length; iRule++) { if (rules [iRule] == null) { throw new ArgumentNullException ("rules", SR.Get (SRID.ParamsEntryNullIllegal)); } base.Add (rules [iRule]); } } ////// TODOC /// /// ///protected override string GetKeyForItem (SrgsRule rule) { if (rule == null) { throw new ArgumentNullException ("rule"); } return rule.Id; } } } // 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
- NavigatorInvalidBodyAccessException.cs
- ConfigurationElementProperty.cs
- EqualityArray.cs
- ListViewContainer.cs
- OverlappedAsyncResult.cs
- TreeIterators.cs
- HttpValueCollection.cs
- SelectedGridItemChangedEvent.cs
- brushes.cs
- DataGridLinkButton.cs
- MemberCollection.cs
- SourceFileInfo.cs
- PresentationSource.cs
- DeploymentSectionCache.cs
- Emitter.cs
- CollectionConverter.cs
- ProjectionPruner.cs
- ServiceEndpointElement.cs
- XmlIlVisitor.cs
- SecurityTokenRequirement.cs
- ConfigViewGenerator.cs
- DeferredReference.cs
- NumberEdit.cs
- SystemColors.cs
- AssemblyBuilderData.cs
- UnsafeNetInfoNativeMethods.cs
- PropertyDescriptors.cs
- CompModHelpers.cs
- SaveFileDialog.cs
- UnionQueryOperator.cs
- SelectionItemPattern.cs
- WebPartEditVerb.cs
- SplitterEvent.cs
- GeometryHitTestResult.cs
- FormViewInsertedEventArgs.cs
- UserControlAutomationPeer.cs
- SymbolType.cs
- PasswordValidationException.cs
- IncrementalCompileAnalyzer.cs
- NativeMethods.cs
- AsymmetricSecurityProtocol.cs
- EncoderBestFitFallback.cs
- SpeechEvent.cs
- ScrollableControl.cs
- PenThread.cs
- JournalEntry.cs
- HtmlTitle.cs
- Soap.cs
- Propagator.cs
- RoutedEventArgs.cs
- Pointer.cs
- PersonalizationProviderHelper.cs
- WebPartCancelEventArgs.cs
- StrokeFIndices.cs
- Bits.cs
- ToolStripItemRenderEventArgs.cs
- HttpListenerTimeoutManager.cs
- SpotLight.cs
- Delegate.cs
- HttpWebRequest.cs
- TogglePatternIdentifiers.cs
- StackOverflowException.cs
- SharedStatics.cs
- ReferencedAssembly.cs
- SecurityContext.cs
- DebugController.cs
- Point3D.cs
- TableCell.cs
- SqlMethodTransformer.cs
- NumberFormatter.cs
- PropertyFilterAttribute.cs
- Simplifier.cs
- SizeChangedEventArgs.cs
- PropertyFilterAttribute.cs
- MsmqChannelFactory.cs
- AQNBuilder.cs
- ResourceCategoryAttribute.cs
- EmptyQuery.cs
- CompilationUtil.cs
- CommonGetThemePartSize.cs
- LayoutEvent.cs
- WindowsScrollBarBits.cs
- KeyGesture.cs
- SoapUnknownHeader.cs
- HttpRequestWrapper.cs
- SafeFileMappingHandle.cs
- BaseTemplateParser.cs
- BaseDataListDesigner.cs
- DataGridViewCellConverter.cs
- FileChangesMonitor.cs
- BrowsableAttribute.cs
- CodeAttributeDeclaration.cs
- TraceContext.cs
- CompensationHandlingFilter.cs
- Image.cs
- ParsedRoute.cs
- NumericPagerField.cs
- BypassElementCollection.cs
- MembershipSection.cs
- HttpClientProtocol.cs