Jump to: navigation, search

Difference between revisions of "CUSTOMIZING"


m
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
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.
 
{{MetaClassInfoBox
 
{{MetaClassInfoBox
 
| title = Customizing
 
| title = Customizing
Line 8: Line 9:
 
| purpose = Manage customizing versions
 
| purpose = Manage customizing versions
 
| version = 2+
 
| version = 2+
 +
| runtimetype =
 +
| typestring =
 
}}
 
}}
 
==Basics==
 
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.
 
  
 
==Properties==
 
==Properties==
 
===Version number===
 
===Version number===
The version number of a customizing consits of 3 numbers:<br/>
+
The version number of a customizing consits of 3 numbers: ''Major.Minor.Revision''<br/>
''Major.Minor.Revision''<br/>
+
'''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.
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===
 
===Kernel Version===
The kernel Version number for which the current customizing was compiled for
+
The kernel ''Version'' number for which the current customizing was compiled for.
 
+
  
 
===Comment===
 
===Comment===
 
Additional comment describing the customizing.
 
Additional comment describing the customizing.
 
  
 
===Assembly and AssemblyUI File===
 
===Assembly and AssemblyUI File===
 
Gives information about the filenames of the assemblies of the customizing.
 
Gives information about the filenames of the assemblies of the customizing.
 
  
 
===Released===
 
===Released===
 
Indicates as the customizing is currently the released one. Only one customizing can be released per Kernel Version.
 
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.
 
Setting it to true will mark all other customizings (with the same Kernel Version) as not released.
 
  
 
===Original Version===
 
===Original Version===
 
The Customizing Version which was active once the new once was compiled.
 
The Customizing Version which was active once the new once was compiled.
  
 
+
== Methods ==
==Customizeable Methods==
+
=== AddSystemAssemblies ===
===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). {{Version/ServerSince|2.5.0}}
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) {{Version/ServerSince|2.5.0}}.
+
  
 
''Example:''
 
''Example:''
Line 59: Line 52:
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
== See also ==
 +
* [[HowTo:Register_additional_Assemblies_at_the_UBIK_Compiler]]
  
 
[[Category:Metaclasses|CUSTOMIZING]]
 
[[Category:Metaclasses|CUSTOMIZING]]

Latest revision as of 15:14, 2 May 2016

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
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