menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ConfigStack - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ConfigStack

    Represents a class that contains simple last-in-first-out (LIFO) non-generic collection of objects with configuration.

    Inheritance
    System.Object
    System.Collections.Stack
    ConfigStack
    Implements
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.ICloneable
    Inherited Members
    System.Collections.Stack.Clear()
    System.Collections.Stack.CopyTo(System.Array, System.Int32)
    System.Collections.Stack.Count
    System.Collections.Stack.GetEnumerator()
    System.Collections.Stack.IsSynchronized
    System.Collections.Stack.Synchronized(System.Collections.Stack)
    System.Collections.Stack.SyncRoot
    System.Collections.Stack.ToArray()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Edit.Implementation.Parser
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public class ConfigStack : Stack, ICollection, IEnumerable, ICloneable

    Constructors

    ConfigStack()

    Initializes a new instance of the ConfigStack class.

    Declaration
    public ConfigStack()

    Methods

    Clone()

    Helps to clones the object.

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object

    Clone of the stack.

    Overrides
    System.Collections.Stack.Clone()

    Contains(IStackData)

    Checks whether the stack contains given data.

    Declaration
    public bool Contains(IStackData data)
    Parameters
    Type Name Description
    IStackData data

    IStackData instance.

    Returns
    Type Description
    System.Boolean

    True if stack contains given data, otherwise false.

    Contains(Object)

    Hides Contains method.

    Declaration
    protected bool Contains(object obj)
    Parameters
    Type Name Description
    System.Object obj

    Object to check.

    Returns
    Type Description
    System.Boolean

    True if stack contains object.

    Equals(Object)

    Checks whether the two called stacks are equal.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj

    Object to check.

    Returns
    Type Description
    System.Boolean

    True of stacks are equal.

    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Gets stack hashcode.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Hash code.

    Overrides
    System.Object.GetHashCode()

    Peek()

    Returns the object at the top of the System.Collections.Stack without removing it.

    Declaration
    public IStackData Peek()
    Returns
    Type Description
    IStackData

    IStackData object.

    Pop()

    Removes and returns the object at the top of the System.Collections.Stack.

    Declaration
    public IStackData Pop()
    Returns
    Type Description
    IStackData

    IStackData instance.

    Push(IStackData)

    Inserts an object at the top of the System.Collections.Stack.

    Declaration
    public void Push(IStackData data)
    Parameters
    Type Name Description
    IStackData data

    IStackData instance.

    Push(IConfigLexem, ILexem, IParsePoint)

    Inserts an object at the top of the System.Collections.Stack.

    Declaration
    public void Push(IConfigLexem config, ILexem lexem, IParsePoint point)
    Parameters
    Type Name Description
    IConfigLexem config

    Configurtion of the stack`s element, can not be null

    ILexem lexem

    Lexem instance. Can be null.

    IParsePoint point

    Location.

    Push(IConfigLexem, ILexem, IParsePoint, IConfigLexem)

    Inserts an object at the top of the System.Collections.Stack.

    Declaration
    public void Push(IConfigLexem config, ILexem lexem, IParsePoint point, IConfigLexem firstConfig)
    Parameters
    Type Name Description
    IConfigLexem config

    Configurtion of the stack's element, can not be null.

    ILexem lexem

    Lexem instance. Can be null.

    IParsePoint point

    Location.

    IConfigLexem firstConfig

    Configuration of the first lexem in sequence.

    Push(Object)

    Hides Push method.

    Declaration
    protected void Push(object obj)
    Parameters
    Type Name Description
    System.Object obj

    Object to push.

    Implements

    System.Collections.ICollection
    System.Collections.IEnumerable
    System.ICloneable

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved