Exemple #1
0
 private void RegisterRuntimeUnit(BuiltInUnitDefinition unit)
 {
     // high level
     RuntimeUnits.Add(unit);
     // low level
     RegisterNativeType(unit);
 }
Exemple #2
0
 private BuiltInUnitDefinition Resolve(out BuiltInUnitDefinition unitRef, Identifier builtIn)
 {
     unitRef = Context.ResolveBuiltIn(new UnitReference(Context, builtIn));
     return(unitRef);
 }