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
- CodeTypeMember.cs
- GeometryGroup.cs
- MobileComponentEditorPage.cs
- Screen.cs
- PropertyEmitterBase.cs
- TemplateEditingService.cs
- ErrorTolerantObjectWriter.cs
- SeverityFilter.cs
- ArraySegment.cs
- GroupByExpressionRewriter.cs
- ControlPropertyNameConverter.cs
- ClientTargetCollection.cs
- ShapingWorkspace.cs
- SafeHandles.cs
- PriorityBindingExpression.cs
- HttpRuntime.cs
- ObjectConverter.cs
- ChangeTracker.cs
- DocumentXmlWriter.cs
- EntitySqlException.cs
- SafeBitVector32.cs
- InternalConfigHost.cs
- AttachmentService.cs
- XmlSchemaImport.cs
- SqlWorkflowInstanceStore.cs
- ContentIterators.cs
- WebPartConnectVerb.cs
- WebPartActionVerb.cs
- _TransmitFileOverlappedAsyncResult.cs
- TypeElement.cs
- HtmlWindow.cs
- ToolStripSplitButton.cs
- SystemColors.cs
- BaseTreeIterator.cs
- XmlExtensionFunction.cs
- TreeView.cs
- DataGridTableCollection.cs
- ToolStripContainer.cs
- ConnectionPointCookie.cs
- EntityCommandExecutionException.cs
- DropDownList.cs
- ExtendedProperty.cs
- DependencyPropertyChangedEventArgs.cs
- DocComment.cs
- XmlStringTable.cs
- XmlNamespaceManager.cs
- DesignerTextWriter.cs
- MessageProperties.cs
- EntityContainerEntitySetDefiningQuery.cs
- EventListenerClientSide.cs
- DataColumnPropertyDescriptor.cs
- LinearKeyFrames.cs
- StandardCommands.cs
- TransmissionStrategy.cs
- HttpGetProtocolImporter.cs
- SessionStateModule.cs
- CoTaskMemUnicodeSafeHandle.cs
- NameValueFileSectionHandler.cs
- TypeElementCollection.cs
- InputScope.cs
- ActionItem.cs
- mactripleDES.cs
- UnsignedPublishLicense.cs
- FocusTracker.cs
- TreeNodeStyleCollectionEditor.cs
- PrefixQName.cs
- path.cs
- EntityRecordInfo.cs
- CodePrimitiveExpression.cs
- NotImplementedException.cs
- tooltip.cs
- ScriptReferenceBase.cs
- XmlCharCheckingReader.cs
- AppDomainResourcePerfCounters.cs
- ConfigurationSectionGroup.cs
- SmiEventSink_DeferedProcessing.cs
- DataGridViewCellLinkedList.cs
- TextChangedEventArgs.cs
- DocumentApplication.cs
- ValidationErrorCollection.cs
- SqlCommandAsyncResult.cs
- SimpleHandlerBuildProvider.cs
- CodeTypeDelegate.cs
- Stackframe.cs
- TextComposition.cs
- StateMachineSubscriptionManager.cs
- BitmapFrame.cs
- ClientFormsAuthenticationCredentials.cs
- ItemCheckedEvent.cs
- HuffModule.cs
- PathFigure.cs
- ReachSerializableProperties.cs
- ExpressionBindings.cs
- SerializationHelper.cs
- ExceptionNotification.cs
- HostedImpersonationContext.cs
- Evaluator.cs
- PersonalizationStateQuery.cs
- CalendarBlackoutDatesCollection.cs
- SiteMapHierarchicalDataSourceView.cs