Class NothingProxy
- Namespace
- MarymoorStudios.Core.Rpc
- Assembly
- MarymoorStudios.Core.Rpc.dll
public sealed class NothingProxy : Proxy<NothingServer>, IProxy<NothingProxy, NothingServer>
- Inheritance
-
NothingProxy
- Implements
- Inherited Members
Constructors
NothingProxy(Promise<NothingServer>)
Creates a forwarded promise whose outcome will be the same as p
.
public NothingProxy(Promise<NothingServer> p)
Parameters
NothingProxy(Resolver<NothingServer>)
Creates an unresolved promise whose future outcome is defined by r
.
public NothingProxy(Resolver<NothingServer> r)
Parameters
NothingProxy(NothingServer)
Creates a successfully resolved promise.
public NothingProxy(NothingServer value)
Parameters
value
NothingServer
NothingProxy(Proxy<NothingServer>)
Creates a forwarded promise whose outcome will be the same as p
.
public NothingProxy(Proxy<NothingServer> p)
Parameters
NothingProxy(Exception)
Creates a failed promise whose outcome is ex
.
public NothingProxy(Exception ex)
Parameters
ex
Exception
Operators
implicit operator NothingProxy(Promise<NothingProxy>)
Implicit conversion to its syntax.
public static implicit operator NothingProxy(Promise<NothingProxy> p)
Parameters
Returns
Explicit Interface Implementations
Create(Promise<NothingServer>)
Creates a forwarded promise whose outcome will be the same as p
.
static NothingProxy Create(Promise<NothingServer> p)
Parameters
Returns
Create(Resolver<NothingServer>)
Creates an unresolved promise whose future outcome is defined by r
.
static NothingProxy Create(Resolver<NothingServer> r)
Parameters
Returns
Create(NothingServer)
Creates a successfully resolved promise.
static NothingProxy Create(NothingServer value)
Parameters
value
NothingServer
Returns
Create(Proxy<NothingServer>)
Creates a forwarded promise whose outcome will be the same as p
.
static NothingProxy Create(Proxy<NothingServer> p)
Parameters
Returns
Create(Exception)
Creates a failed promise whose outcome is ex
.
static NothingProxy Create(Exception ex)
Parameters
ex
Exception