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
- DocumentPage.cs
- DoWorkEventArgs.cs
- CodeArrayCreateExpression.cs
- DataViewListener.cs
- GeneralTransformGroup.cs
- TableLayout.cs
- CompilerCollection.cs
- RTLAwareMessageBox.cs
- AssemblyNameUtility.cs
- EnumValidator.cs
- PersistenceIOParticipant.cs
- Msec.cs
- PrintDialogException.cs
- BufferedMessageWriter.cs
- ProfileProvider.cs
- TrackingServices.cs
- Binding.cs
- TableRowGroup.cs
- SizeConverter.cs
- SoapAttributes.cs
- TriggerAction.cs
- UIPermission.cs
- LicenseContext.cs
- ColorContextHelper.cs
- FileFormatException.cs
- Decimal.cs
- PageCodeDomTreeGenerator.cs
- UserControl.cs
- Simplifier.cs
- RootBrowserWindow.cs
- StylusOverProperty.cs
- XmlLoader.cs
- IsolatedStoragePermission.cs
- CallbackDebugElement.cs
- TextServicesManager.cs
- TypedReference.cs
- DashStyles.cs
- XmlSerializerNamespaces.cs
- DataBoundControlDesigner.cs
- ApplicationInfo.cs
- XmlDataLoader.cs
- RoutedPropertyChangedEventArgs.cs
- ListViewTableRow.cs
- ConnectionInterfaceCollection.cs
- CommandExpr.cs
- XXXOnTypeBuilderInstantiation.cs
- EnterpriseServicesHelper.cs
- ListViewDeleteEventArgs.cs
- ErrorWrapper.cs
- PenThread.cs
- DesignerActionPanel.cs
- PackageFilter.cs
- RepeaterItem.cs
- ValueType.cs
- FacetValueContainer.cs
- DataRelationPropertyDescriptor.cs
- ExpressionBindings.cs
- Vector.cs
- AccessDataSourceView.cs
- ListParagraph.cs
- SystemTcpConnection.cs
- SHA384Cng.cs
- SqlProviderManifest.cs
- ImageCodecInfoPrivate.cs
- XmlUtf8RawTextWriter.cs
- TouchesOverProperty.cs
- ComplexType.cs
- ClockGroup.cs
- CustomCategoryAttribute.cs
- RelationshipEnd.cs
- CorrelationExtension.cs
- HostingEnvironmentException.cs
- SQLBoolean.cs
- PathGeometry.cs
- NetMsmqBindingCollectionElement.cs
- DetailsViewRowCollection.cs
- ActiveXContainer.cs
- StringPropertyBuilder.cs
- QuestionEventArgs.cs
- OleDbEnumerator.cs
- ObjectDataSourceMethodEventArgs.cs
- WebPartConnectionsEventArgs.cs
- XmlSchemaDatatype.cs
- FormViewDeleteEventArgs.cs
- ConfigurationValidatorBase.cs
- SHA256.cs
- UnionExpr.cs
- TextCharacters.cs
- ClientRolePrincipal.cs
- RootProfilePropertySettingsCollection.cs
- RemotingHelper.cs
- AspNetCompatibilityRequirementsMode.cs
- _AutoWebProxyScriptEngine.cs
- DataControlImageButton.cs
- QueryCacheKey.cs
- ParserOptions.cs
- XmlC14NWriter.cs
- DataControlField.cs
- CodeTypeParameterCollection.cs
- TargetPerspective.cs