FlatRedBall.Glue.ElementRuntime.LoadReferencedFileSave C# (CSharp) Method

LoadReferencedFileSave() public method

public LoadReferencedFileSave ( ReferencedFileSave r ) : object
r FlatRedBall.Glue.SaveClasses.ReferencedFileSave
return object
        public object LoadReferencedFileSave(ReferencedFileSave r)
        {
            return mReferencedFileRuntimeList.LoadReferencedFileSave(r, mAssociatedIElement);
        }

Same methods

ElementRuntime::LoadReferencedFileSave ( ReferencedFileSave r, bool isBeingAccessed, IElement container ) : object

Usage Example

Exemplo n.º 1
0
        private void EvaluateFunctionGetStaticMember(ElementRuntime elementRuntime, FunctionArgs args, CodeContext codeContext)
        {

            string argument = (string)args.Parameters[0].ParsedExpression.ToString();

            string value = (string) mExpressionParser.EvaluateExpression(argument, codeContext);

            ReferencedFileSave rfs = elementRuntime.AssociatedIElement.GetReferencedFileSaveByInstanceNameRecursively(value);

            args.Result = elementRuntime.LoadReferencedFileSave(rfs, true, elementRuntime.AssociatedIElement);
        }
All Usage Examples Of FlatRedBall.Glue.ElementRuntime::LoadReferencedFileSave