eDriven Framework API
StyleClientAdapterBase Class
NamespaceseDriven.Gui.StylesStyleClientAdapterBase
eDriven Framework API
A wrapper around Unity component
Defines rules by which the ID and Style name of the component are evaluated
Note: the subject of selector is not evaluated here - it is always the full type name
Adapter class should be written per component and extend StyleClientAdapterBase
If style client adapter for the particular component not defined - it will fall back to the default one
Note: The default adapter returns Component.gameObject.name as ID and an empty string as StyleName
Declaration Syntax
C#Visual BasicVisual C++
public abstract class StyleClientAdapterBase : ISimpleStyleClient
Public MustInherit Class StyleClientAdapterBase _
	Implements ISimpleStyleClient
public ref class StyleClientAdapterBase abstract : ISimpleStyleClient
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
StyleClientAdapterBase()()()()
Initializes a new instance of the StyleClientAdapterBase class

Component
The component to operate with

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Id
The definition of component ID

Initialize(Component)
Initializes the adapter (the adapter is reused)

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
StyleChanged(String)
Not used

StyleName
The definition of component style name (CSS class)

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
Object
StyleClientAdapterBase

Assembly: eDriven.Gui (Module: eDriven.Gui) Version: 2.0.1.0 (2.0.1.0)