public override Value Evaluate() { var self = RegionManager.Regions["self"]; RejectNull(self, LOCATION, "Self not set"); arguments.FromSelf = true; return(MessagingState.Send(self, message, arguments)); }
public override Value Evaluate() { var cls = Regions["class"]; Reject(cls.IsEmpty, LOCATION, $"{message} message called out of class"); arguments.FromSelf = true; return(MessagingState.Send(cls, message, arguments)); }
public override Value Evaluate() { var self = RegionManager.Regions["self"]; self.Must().Not.BeNull().OrThrow(LOCATION, () => "Self not set"); arguments.FromSelf = true; return(MessagingState.Send(self, message, arguments)); }
public override Value Evaluate() { var cls = Regions["class"]; cls.IsEmpty.Must().Not.BeTrue().OrThrow(LOCATION, () => $"{message} message called out of class"); arguments.FromSelf = true; return(MessagingState.Send(cls, message, arguments)); }