protected override void apply()
 {
     ScopeVariable = instanceScopes(_scopeBlock, _instance);
     if (ScopeVariable == null && !View.IsAborted)
     {
         View.Abort("Cannot get scope variable for instance " + _instance.ID);
     }
 }
예제 #2
0
        protected override void apply()
        {
            if (_instances.Length == 0)
            {
                //nothing to transform

                InstanceScopes = new InstanceScopes(new Dictionary <Instance, VariableName>(), View.EntryBlock);
                return;
            }

            InstanceScopes = getScopes(_instances);

            if (InstanceScopes == null)
            {
                View.Abort("Can't get instances to same scope");
            }
        }
예제 #3
0
 protected override void apply()
 {
     View.Abort("There is missing transformation for requested operation");
 }