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
- DiscreteKeyFrames.cs
- AsyncDataRequest.cs
- Sql8ExpressionRewriter.cs
- TextEditorMouse.cs
- QilFactory.cs
- HttpInputStream.cs
- Authorization.cs
- Rect.cs
- OperationResponse.cs
- CacheForPrimitiveTypes.cs
- Schedule.cs
- ColumnPropertiesGroup.cs
- HttpAsyncResult.cs
- UnknownBitmapDecoder.cs
- SoapClientMessage.cs
- ItemCollection.cs
- EncodingNLS.cs
- NoPersistScope.cs
- BinHexEncoding.cs
- BindableAttribute.cs
- TemplateXamlTreeBuilder.cs
- PaintEvent.cs
- TabControlAutomationPeer.cs
- Misc.cs
- KoreanLunisolarCalendar.cs
- TransformerConfigurationWizardBase.cs
- SiteMapNodeItemEventArgs.cs
- EncryptedPackage.cs
- ObjectContext.cs
- TextBoxBase.cs
- DataContractSerializerMessageContractImporter.cs
- FormatterServicesNoSerializableCheck.cs
- Span.cs
- Pts.cs
- XmlSchemaExporter.cs
- SqlStream.cs
- MessageDecoder.cs
- IfJoinedCondition.cs
- ResourceDescriptionAttribute.cs
- RtfNavigator.cs
- CommandField.cs
- CallTemplateAction.cs
- ItemMap.cs
- LinearKeyFrames.cs
- XPathItem.cs
- IdentifierCollection.cs
- ListViewItem.cs
- WindowsRebar.cs
- DesignerActionList.cs
- SocketPermission.cs
- TextChangedEventArgs.cs
- BamlStream.cs
- NavigationProperty.cs
- SR.cs
- Vector3DAnimationBase.cs
- XmlAutoDetectWriter.cs
- SerializationInfo.cs
- IPAddressCollection.cs
- ListSourceHelper.cs
- IncrementalReadDecoders.cs
- UserPreferenceChangingEventArgs.cs
- SchemaCollectionPreprocessor.cs
- UnmanagedHandle.cs
- AdPostCacheSubstitution.cs
- AVElementHelper.cs
- HttpProfileBase.cs
- Cursors.cs
- TraceUtils.cs
- TemplateColumn.cs
- AppSettings.cs
- WpfPayload.cs
- IApplicationTrustManager.cs
- QueryableDataSourceView.cs
- ThrowHelper.cs
- ExpressionNode.cs
- InkCanvasFeedbackAdorner.cs
- KnownTypeDataContractResolver.cs
- DiscoveryReference.cs
- RectangleF.cs
- XmlTextReaderImpl.cs
- DBCSCodePageEncoding.cs
- ControlPropertyNameConverter.cs
- Empty.cs
- ScrollableControl.cs
- TypeInfo.cs
- TimeManager.cs
- XPathConvert.cs
- AnonymousIdentificationSection.cs
- XPathNodeInfoAtom.cs
- FontDialog.cs
- LookupNode.cs
- KnownTypeAttribute.cs
- SystemNetHelpers.cs
- CompilerInfo.cs
- WorkItem.cs
- DrawToolTipEventArgs.cs
- DisplayNameAttribute.cs
- RequiredAttributeAttribute.cs
- Pkcs9Attribute.cs
- FormViewCommandEventArgs.cs