Example #1
0
 public CustomXsltFunction(string name, XPathResultType[] argTypes, XPathResultType returnType, InvokedFunction function = null)
 {
     Prefix     = String.Empty;
     Name       = name;
     ArgTypes   = argTypes;
     ReturnType = returnType;
     Function   = function;
 }
Example #2
0
 public CustomXsltFunction(string name, XPathResultType[] argTypes, XPathResultType returnType, InvokedFunction function = null)
 {
     Prefix = String.Empty;
     Name = name;
     ArgTypes = argTypes;
     ReturnType = returnType;
     Function = function;
 }
    IEnumerator WaitAndInvoke(float secondsToWait, InvokedFunction func)
    {
        yield return(new WaitForSeconds(secondsToWait));

        func();
    }