Table of Contents

Class ComponentReplacer

public class ComponentReplacer
Inheritance
ComponentReplacer
Inherited Members
Extension Methods

Methods

AddToBlackList(Type, string)

public static void AddToBlackList(Type type, string path)

Parameters

type Type
path string

CanAllReferencesReplaceWith(Component, Type)

public static bool CanAllReferencesReplaceWith(Component component, Type replaceType)

Parameters

component Component
replaceType Type

Returns

bool

CanAllReferencesReplaceWith<T>(Component)

public static bool CanAllReferencesReplaceWith<T>(Component component)

Parameters

component Component

Returns

bool

Type Parameters

T

GetReferencedComponents(Component)

public static ICollection<(Component, string)> GetReferencedComponents(Component component)

Parameters

component Component

Returns

ICollection<(Component, string)>

InitAllComponents()

public static void InitAllComponents()

IsRequired(Type, Type, Type)

public static bool IsRequired(Type type, Type checkType, Type capableType = null)

Parameters

type Type
checkType Type
capableType Type

Returns

bool

TryReplaceComponent<T>(Component, bool)

public static T TryReplaceComponent<T>(Component oldComponent, bool copyContent) where T : Component

Parameters

oldComponent Component
copyContent bool

Returns

T

Type Parameters

T