Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    IReadOnlySet<T> Interface

    Namespace: Stride.Core.Collections
    Assembly: Stride.Core.dll

    Represents a strongly-typed, read-only set of element.

    public interface IReadOnlySet<T> : IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable
    Type Parameters
    Name Description
    T

    The type of the elements.

    Name Description
    Methods
    Contains(T)

    Determines whether the set [contains] [the specified item].

    | Improve this Doc View Source

    Methods


    Contains(T)

    Determines whether the set [contains] [the specified item].

    bool Contains(T item)
    Parameters
    Type Name Description
    T item

    The item.

    Returns
    Type Description
    System.Boolean

    true if the set [contains] [the specified item]; otherwise, false.


    Inherited Members

    System.Collections.Generic.IReadOnlyCollection<T>.Count
    System.Collections.Generic.IEnumerable<T>.GetEnumerator()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    EnumerableExtensions.IsNullOrEmpty(IEnumerable)
    EnumerableExtensions.ForEach<T>(IEnumerable, Action<T>)
    EnumerableExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
    EnumerableExtensions.IndexOf<T>(IEnumerable<T>, Func<T, Boolean>)
    EnumerableExtensions.LastIndexOf<T>(IEnumerable<T>, Func<T, Boolean>)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation