Skip to main content

DesktopUtils

Assembly: ServiceStack.Desktop.dll​
View Source​
Declaration
public static class DesktopUtils : object

Methods​

DoWindow(ScriptScopeContext, Action<IntPtr>)​

View Source​
Declaration
public static bool DoWindow(this ScriptScopeContext scope, Action<IntPtr> fn)
Returns​

System.Boolean

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
Action<IntPtr>fn

DoWindow<T>(ScriptScopeContext, Func<IntPtr, T>)​

View Source​
Declaration
public static T DoWindow<T>(this ScriptScopeContext scope, Func<IntPtr, T> fn)
Returns​

<T>

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
Func<IntPtr,<T>>fn
Type Parameters​
  • T