C# Класс Geisha.Engine.Core.SceneModel.ComponentFactoryNotFoundException

The exception that is thrown when no implementation of IComponentFactory was found for specified component type or component id.
Наследование: Exception
Показать файл Открыть проект

Открытые методы

Метод Описание
ComponentFactoryNotFoundException ( Geisha.Engine.Core.SceneModel.ComponentId componentId, IReadOnlyCollection componentFactories ) : System

Creates new instance of ComponentFactoryNotFoundException class for specified componentId.

ComponentFactoryNotFoundException ( Type componentType, IReadOnlyCollection componentFactories ) : System

Creates new instance of ComponentFactoryNotFoundException class for specified componentType.

Приватные методы

Метод Описание
GetMessage ( Geisha.Engine.Core.SceneModel.ComponentId componentId, IEnumerable factories ) : string
GetMessage ( Type componentType, IEnumerable factories ) : string
GetMessage ( string header, IEnumerable factories ) : string
Sorted ( IEnumerable factories ) : IEnumerable

Описание методов

ComponentFactoryNotFoundException() публичный Метод

Creates new instance of ComponentFactoryNotFoundException class for specified componentId.
public ComponentFactoryNotFoundException ( Geisha.Engine.Core.SceneModel.ComponentId componentId, IReadOnlyCollection componentFactories ) : System
componentId Geisha.Engine.Core.SceneModel.ComponentId Id of component for which factory was not found.
componentFactories IReadOnlyCollection Collection of all available factories.
Результат System

ComponentFactoryNotFoundException() публичный Метод

Creates new instance of ComponentFactoryNotFoundException class for specified componentType.
public ComponentFactoryNotFoundException ( Type componentType, IReadOnlyCollection componentFactories ) : System
componentType Type Type of component for which factory was not found.
componentFactories IReadOnlyCollection Collection of all available factories.
Результат System