Class CardChannelObservable
Allows an existing ICardChannel instance to be observed by using delegates and wrapping it.
Inheritance
System.Object
CardChannelObservable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: WSCT.dll
Syntax
public class CardChannelObservable : ICardChannelObservable, ICardChannel
Constructors
|
Improve this Doc
View Source
CardChannelObservable(ICardChannel)
Initializes a new instance.
Declaration
public CardChannelObservable(ICardChannel channel)
Parameters
Type |
Name |
Description |
ICardChannel |
channel |
ICardChannel instance to wrap.
|
Fields
|
Improve this Doc
View Source
channel
Declaration
protected ICardChannel channel
Field Value
Properties
|
Improve this Doc
View Source
Protocol
Declaration
public Protocol Protocol { get; }
Property Value
|
Improve this Doc
View Source
ReaderName
Declaration
public string ReaderName { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
Attach(ICardContext, String)
Declaration
public void Attach(ICardContext context, string readerName)
Parameters
Type |
Name |
Description |
ICardContext |
context |
|
System.String |
readerName |
|
|
Improve this Doc
View Source
Connect(ShareMode, Protocol)
Declaration
public ErrorCode Connect(ShareMode shareMode, Protocol preferedProtocol)
Parameters
Returns
|
Improve this Doc
View Source
Disconnect(Disposition)
Declaration
public ErrorCode Disconnect(Disposition disposition)
Parameters
Returns
|
Improve this Doc
View Source
GetAttrib(Attrib, ref Byte[])
Declaration
public ErrorCode GetAttrib(Attrib attrib, ref byte[] buffer)
Parameters
Type |
Name |
Description |
Attrib |
attrib |
|
System.Byte[] |
buffer |
|
Returns
|
Improve this Doc
View Source
GetStatus()
Declaration
Returns
|
Improve this Doc
View Source
Reconnect(ShareMode, Protocol, Disposition)
Declaration
public ErrorCode Reconnect(ShareMode shareMode, Protocol preferedProtocol, Disposition initialization)
Parameters
Returns
|
Improve this Doc
View Source
Transmit(ICardCommand, ICardResponse)
Declaration
public ErrorCode Transmit(ICardCommand command, ICardResponse response)
Parameters
Returns
Events
|
Improve this Doc
View Source
AfterConnectEvent
Declaration
public event EventHandler<AfterConnectEventArgs> AfterConnectEvent
Event Type
|
Improve this Doc
View Source
AfterDisconnectEvent
Declaration
public event EventHandler<AfterDisconnectEventArgs> AfterDisconnectEvent
Event Type
|
Improve this Doc
View Source
AfterGetAttribEvent
Declaration
public event EventHandler<AfterGetAttribEventArgs> AfterGetAttribEvent
Event Type
|
Improve this Doc
View Source
AfterGetStatusEvent
Declaration
public event EventHandler<AfterGetStatusEventArgs> AfterGetStatusEvent
Event Type
|
Improve this Doc
View Source
AfterReconnectEvent
Declaration
public event EventHandler<AfterReconnectEventArgs> AfterReconnectEvent
Event Type
|
Improve this Doc
View Source
AfterTransmitEvent
Declaration
public event EventHandler<AfterTransmitEventArgs> AfterTransmitEvent
Event Type
|
Improve this Doc
View Source
BeforeConnectEvent
Declaration
public event EventHandler<BeforeConnectEventArgs> BeforeConnectEvent
Event Type
|
Improve this Doc
View Source
BeforeDisconnectEvent
Declaration
public event EventHandler<BeforeDisconnectEventArgs> BeforeDisconnectEvent
Event Type
|
Improve this Doc
View Source
BeforeGetAttribEvent
Declaration
public event EventHandler<BeforeGetAttribEventArgs> BeforeGetAttribEvent
Event Type
|
Improve this Doc
View Source
BeforeGetStatusEvent
Declaration
public event EventHandler<BeforeGetStatusEventArgs> BeforeGetStatusEvent
Event Type
|
Improve this Doc
View Source
BeforeReconnectEvent
Declaration
public event EventHandler<BeforeReconnectEventArgs> BeforeReconnectEvent
Event Type
|
Improve this Doc
View Source
BeforeTransmitEvent
Declaration
public event EventHandler<BeforeTransmitEventArgs> BeforeTransmitEvent
Event Type
Implements
Extension Methods