C# Class SIL.FieldWorks.FDO.DomainImpl.StStyleFactory

Mostrar archivo Open project: sillsdev/FieldWorks

Public Methods

Method Description
Create ( FdoCache cache, System.Guid guid ) : IStStyle

Create a new style with a fixed guid.

Create ( IFdoOwningCollection styleList, string name, ContextValues context, StructureValues structure, FunctionValues function, bool isCharStyle, int userLevel, bool isBuiltin ) : IStStyle

Create a new style on the specified style list.

Method Details

Create() public method

Create a new style with a fixed guid.
public Create ( FdoCache cache, System.Guid guid ) : IStStyle
cache FdoCache project cache
guid System.Guid the factory set guid
return IStStyle

Create() public method

Create a new style on the specified style list.
public Create ( IFdoOwningCollection styleList, string name, ContextValues context, StructureValues structure, FunctionValues function, bool isCharStyle, int userLevel, bool isBuiltin ) : IStStyle
styleList IFdoOwningCollection The style list to add the style to
name string style name
context ContextValues style context
structure StructureValues style structure
function FunctionValues style function
isCharStyle bool true if character style, otherwise false
userLevel int User level
isBuiltin bool True for a builtin style, otherwise, false.
return IStStyle