private bool PushToRepresentationInternal(CmlValue_Link value, object representation, CmlContext context) { context.AddVariableLink( value.GetGroup(), new VariableLink_Simple_Direct( new VariableNode(value.GetVariableInstance()), new VariableNode(variable.CreateStrongInstance(representation)) ) ); return(true); }
private void SolidifyInstanceInternal(CmlValue_Link value, object representation, EffigyLink effigy_link, CmlContext context) { context.AddVariableLink( value.GetGroup(), new VariableLink_Simple_Process( new VariableNode(value.GetVariableInstance()), new VariableNode(variable.CreateStrongInstance(representation)), o => effigy_link.GetValues().FindIndexOf(o), i => effigy_link.GetValues().Get(i.ConvertEX <int>()) ) ); }
private bool PushToRepresentationInternal(CmlValue_Link value, object representation, CmlContext context) { context.AddEffigyLink( value.GetGroup(), effigy_info.CreateLink( context, representation, value.GetVariableInstance(), value.GetClass() ) ); return(true); }
public override VariableInstance GetVariableInstance() { return(link.GetVariableInstance()); }