Compartir a través de


NSRunLoop.Perform Método

Definición

Sobrecargas

Perform(Action)
Perform(NSRunLoopMode[], Action)
Perform(NSString[], Action)

Perform(Action)

[Foundation.Export("performBlock:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void Perform (Action block);
abstract member Perform : Action -> unit
override this.Perform : Action -> unit

Parámetros

block
Action
Atributos

Se aplica a

Perform(NSRunLoopMode[], Action)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public void Perform (Foundation.NSRunLoopMode[] modes, Action block);
member this.Perform : Foundation.NSRunLoopMode[] * Action -> unit

Parámetros

modes
NSRunLoopMode[]
block
Action
Atributos

Se aplica a

Perform(NSString[], Action)

[Foundation.Export("performInModes:block:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void Perform (Foundation.NSString[] modes, Action block);
abstract member Perform : Foundation.NSString[] * Action -> unit
override this.Perform : Foundation.NSString[] * Action -> unit

Parámetros

modes
NSString[]
block
Action
Atributos

Se aplica a