StyleDictionary

Namespace: WellFired.Guacamole

Implements: WellFired.Guacamole.Styling.IStyleDictionary

Description

Public Methods

  StyleDictionary ( )
  StyleDictionary ( ILogger logger )
  StyleDictionary ( ILogger logger, IDictionary< Type, Style > from )
void Add ( Style aStyle, Type forViewType )
Style Get ( Type forViewType )

Breakdown

  • StyleDictionary ( )
  • StyleDictionary ( ILogger logger )
  • StyleDictionary ( ILogger logger, IDictionary< Type, Style > from )
  • void Add ( Style aStyle, Type forViewType )

    Description

    Will add aStyle for a given view, will log a warning if constructed with a logger.

    Parameters

    aStyle The Style we’d like to add to the dictionary.
    forViewType The view type that we would associate with this view type.
  • Style Get ( Type forViewType )

    Description

    Will return the style for a given View Type.

    Parameters

    forViewType The view type for which we’d like to find a style.