• API Documentation
Show / Hide Table of Contents
  • Rebus
    • Arguments
    • Biome
    • CantorPairing
    • CommandRequest
    • CommandResponse
    • CommandType
    • Commodity
    • Configuration
    • ConflictEventArgs
    • Depths
    • Economy
    • Fleet
    • HexPoint
    • IGameService
    • ILoginService
    • Player
    • Unit
    • User
    • Zone
    • ZoneInfo
  • Rebus.Client
    • GraphicsEngine
    • Layout
    • RpcClient
    • ZoneVisualizer
  • Rebus.Client.Lenses
    • BiomeLens
    • ConstellationLens
    • Lens
    • PopulationLens
    • StarLens
  • Rebus.Server
    • AStarSearch
    • EvaluationContext
    • FisherYatesShuffle
    • JuliaSet
    • PowerSet
  • Rebus.Server.Considerations
    • Agent
    • Behavior
    • BehaviorCollection
    • Consideration
    • ConsiderationCollection
    • FunctionConsideration
    • LinearConsideration
    • QuadraticConsideration
  • Rebus.Server.Functions
    • IFunctions<T>
  • System
    • NegativeExponentialRandom
  • System.Text.Json.Serialization.Converters
    • ComplexConverter
    • CultureInfoConverter
    • IPAddressConverter

Class BehaviorCollection

Inheritance
Object
Collection<Behavior>
KeyedCollection<CommandType, Behavior>
BehaviorCollection
Implements
IList<Behavior>
ICollection<Behavior>
IReadOnlyList<Behavior>
IReadOnlyCollection<Behavior>
IEnumerable<Behavior>
IList
ICollection
IEnumerable
Inherited Members
KeyedCollection<CommandType, Behavior>.ChangeItemKey(Behavior, CommandType)
KeyedCollection<CommandType, Behavior>.ClearItems()
KeyedCollection<CommandType, Behavior>.Contains(CommandType)
KeyedCollection<CommandType, Behavior>.GetKeyForItem(Behavior)
KeyedCollection<CommandType, Behavior>.InsertItem(Int32, Behavior)
KeyedCollection<CommandType, Behavior>.Remove(CommandType)
KeyedCollection<CommandType, Behavior>.RemoveItem(Int32)
KeyedCollection<CommandType, Behavior>.SetItem(Int32, Behavior)
KeyedCollection<CommandType, Behavior>.TryGetValue(CommandType, Behavior)
KeyedCollection<CommandType, Behavior>.Comparer
KeyedCollection<CommandType, Behavior>.Dictionary
KeyedCollection<CommandType, Behavior>.Item[CommandType]
System.Collections.ObjectModel.Collection<Rebus.Server.Considerations.Behavior>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Rebus.Server.Considerations.Behavior>.System.Collections.IList.set_Item(System.Int32, System.Object)
Collection<Behavior>.Add(Behavior)
Collection<Behavior>.Clear()
Collection<Behavior>.ClearItems()
Collection<Behavior>.Contains(Behavior)
Collection<Behavior>.CopyTo(Behavior[], Int32)
Collection<Behavior>.GetEnumerator()
Collection<Behavior>.IndexOf(Behavior)
Collection<Behavior>.Insert(Int32, Behavior)
Collection<Behavior>.InsertItem(Int32, Behavior)
Collection<Behavior>.Remove(Behavior)
Collection<Behavior>.RemoveAt(Int32)
Collection<Behavior>.RemoveItem(Int32)
Collection<Behavior>.SetItem(Int32, Behavior)
Collection<Behavior>.ICollection.CopyTo(Array, Int32)
Collection<Behavior>.IEnumerable.GetEnumerator()
Collection<Behavior>.IList.Add(Object)
Collection<Behavior>.IList.Contains(Object)
Collection<Behavior>.IList.IndexOf(Object)
Collection<Behavior>.IList.Insert(Int32, Object)
Collection<Behavior>.IList.Remove(Object)
Collection<Behavior>.Count
Collection<Behavior>.Item[Int32]
Collection<Behavior>.Items
Collection<Behavior>.ICollection<Behavior>.IsReadOnly
Collection<Behavior>.ICollection.IsSynchronized
Collection<Behavior>.ICollection.SyncRoot
Collection<Behavior>.IList.IsFixedSize
Collection<Behavior>.IList.IsReadOnly
Collection<Behavior>.IList.Item[Int32]
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Rebus.Server.Considerations
Assembly: Rebus.Server.dll
Syntax
public class BehaviorCollection : KeyedCollection<CommandType, Behavior>, IList<Behavior>, ICollection<Behavior>, IReadOnlyList<Behavior>, IReadOnlyCollection<Behavior>, IEnumerable<Behavior>, IList, ICollection, IEnumerable

Methods

GetKeyForItem(Behavior)

Declaration
protected override CommandType GetKeyForItem(Behavior item)
Parameters
Type Name Description
Behavior item
Returns
Type Description
CommandType
Overrides
System.Collections.ObjectModel.KeyedCollection<Rebus.CommandType, Rebus.Server.Considerations.Behavior>.GetKeyForItem(Rebus.Server.Considerations.Behavior)

Implements

System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
In This Article
Back to top © 2021-2022 Ishan Pranav. All rights reserved. Licensed under the MIT License.