Last modified on 21 July 2015, at 10:28

CUSTOMIZING

Revision as of 10:28, 21 July 2015 by KNO (Talk | contribs)

The Customizing object gives information about one version of the compiled customized assemblies. Every time the user executes a compilation (both local and released) a new instance of customizing is created.

IC METACLASS.gif Customizing
Name CUSTOMIZING
Namespace System.Main.Base
Internal Name SystemObjects.CUSTOMIZINGVERSION
TypeString {{{typestring}}}
RuntimeType {{{runtimetype}}}
Purpose Manage customizing versions
Version 2+


Properties

Version number

The version number of a customizing consits of 3 numbers: Major.Minor.Revision
Major and Minor are linked to Major and Minor of the UBIK® Kernel version the customizing was compiled with. The Revision is increased by 1 with every compilation.

Kernel Version

The kernel Version number for which the current customizing was compiled for.

Comment

Additional comment describing the customizing.

Assembly and AssemblyUI File

Gives information about the filenames of the assemblies of the customizing.

Released

Indicates as the customizing is currently the released one. Only one customizing can be released per Kernel Version. Setting it to true will mark all other customizings (with the same Kernel Version) as not released.

Original Version

The Customizing Version which was active once the new once was compiled.

Methods

AddSystemAssemblies

Gives the possibility to define assemblies (by their name) which must be added to the UBIK Compiler every time it is asked to compile either the customizing or debugging code in the debugging test environment (Whobert) .

Example:

public override System.String[] AddSystemAssemblies()
{
        List<string> assemblies = new List<string>();
        string[] baseAssemblies = base.AddSystemAssemblies();
        if (baseAssemblies != null)
        {
                assemblies.AddRange(baseAssemblies);
        }
        assemblies.Add( "System.Data.dll" );
        return assemblies.ToArray();
}

See also