Show / Hide Table of Contents

Class CardContextObservable

Allows an existing ICardContext instance to be observed by using delegates and wrapping it.

Inheritance
System.Object
CardContextObservable
CardContextLayerObservable
CardContextStackObservable
CardContext
Implements
ICardContextObservable
ICardContext
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()
Namespace: WSCT.Core
Assembly: WSCT.dll
Syntax
public class CardContextObservable : ICardContextObservable, ICardContext

Constructors

| Improve this Doc View Source

CardContextObservable(ICardContext)

Initializes a new instance.

Declaration
public CardContextObservable(ICardContext context)
Parameters
Type Name Description
ICardContext context

ICardContext instance to wrap.

Fields

| Improve this Doc View Source

context

Wrapped ICardContext instance.

Declaration
protected ICardContext context
Field Value
Type Description
ICardContext

Properties

| Improve this Doc View Source

Context

Declaration
public IntPtr Context { get; }
Property Value
Type Description
System.IntPtr
| Improve this Doc View Source

Groups

Declaration
public string[] Groups { get; }
Property Value
Type Description
System.String[]
| Improve this Doc View Source

GroupsCount

Declaration
public int GroupsCount { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Readers

Declaration
public string[] Readers { get; }
Property Value
Type Description
System.String[]
| Improve this Doc View Source

ReadersCount

Declaration
public int ReadersCount { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

Cancel()

Declaration
public ErrorCode Cancel()
Returns
Type Description
ErrorCode
| Improve this Doc View Source

Establish()

Declaration
public ErrorCode Establish()
Returns
Type Description
ErrorCode
| Improve this Doc View Source

GetStatusChange(UInt32, AbstractReaderState[])

Declaration
public ErrorCode GetStatusChange(uint timeout, AbstractReaderState[] readerStates)
Parameters
Type Name Description
System.UInt32 timeout
AbstractReaderState[] readerStates
Returns
Type Description
ErrorCode
| Improve this Doc View Source

IsValid()

Declaration
public ErrorCode IsValid()
Returns
Type Description
ErrorCode
| Improve this Doc View Source

ListReaderGroups()

Declaration
public ErrorCode ListReaderGroups()
Returns
Type Description
ErrorCode
| Improve this Doc View Source

ListReaders(String)

Declaration
public ErrorCode ListReaders(string group)
Parameters
Type Name Description
System.String group
Returns
Type Description
ErrorCode
| Improve this Doc View Source

Release()

Declaration
public ErrorCode Release()
Returns
Type Description
ErrorCode

Events

| Improve this Doc View Source

AfterCancelEvent

Declaration
public event EventHandler<AfterCancelEventArgs> AfterCancelEvent
Event Type
Type Description
System.EventHandler<AfterCancelEventArgs>
| Improve this Doc View Source

AfterEstablishEvent

Declaration
public event EventHandler<AfterEstablishEventArgs> AfterEstablishEvent
Event Type
Type Description
System.EventHandler<AfterEstablishEventArgs>
| Improve this Doc View Source

AfterGetStatusChangeEvent

Declaration
public event EventHandler<AfterGetStatusChangeEventArgs> AfterGetStatusChangeEvent
Event Type
Type Description
System.EventHandler<AfterGetStatusChangeEventArgs>
| Improve this Doc View Source

AfterIsValidEvent

Declaration
public event EventHandler<AfterIsValidEventArgs> AfterIsValidEvent
Event Type
Type Description
System.EventHandler<AfterIsValidEventArgs>
| Improve this Doc View Source

AfterListReaderGroupsEvent

Declaration
public event EventHandler<AfterListReaderGroupsEventArgs> AfterListReaderGroupsEvent
Event Type
Type Description
System.EventHandler<AfterListReaderGroupsEventArgs>
| Improve this Doc View Source

AfterListReadersEvent

Declaration
public event EventHandler<AfterListReadersEventArgs> AfterListReadersEvent
Event Type
Type Description
System.EventHandler<AfterListReadersEventArgs>
| Improve this Doc View Source

AfterReleaseEvent

Declaration
public event EventHandler<AfterReleaseEventArgs> AfterReleaseEvent
Event Type
Type Description
System.EventHandler<AfterReleaseEventArgs>
| Improve this Doc View Source

BeforeCancelEvent

Declaration
public event EventHandler<BeforeCancelEventArgs> BeforeCancelEvent
Event Type
Type Description
System.EventHandler<BeforeCancelEventArgs>
| Improve this Doc View Source

BeforeEstablishEvent

Declaration
public event EventHandler<BeforeEstablishEventArgs> BeforeEstablishEvent
Event Type
Type Description
System.EventHandler<BeforeEstablishEventArgs>
| Improve this Doc View Source

BeforeGetStatusChangeEvent

Declaration
public event EventHandler<BeforeGetStatusChangeEventArgs> BeforeGetStatusChangeEvent
Event Type
Type Description
System.EventHandler<BeforeGetStatusChangeEventArgs>
| Improve this Doc View Source

BeforeIsValidEvent

Declaration
public event EventHandler<BeforeIsValidEventArgs> BeforeIsValidEvent
Event Type
Type Description
System.EventHandler<BeforeIsValidEventArgs>
| Improve this Doc View Source

BeforeListReaderGroupsEvent

Declaration
public event EventHandler<BeforeListReaderGroupsEventArgs> BeforeListReaderGroupsEvent
Event Type
Type Description
System.EventHandler<BeforeListReaderGroupsEventArgs>
| Improve this Doc View Source

BeforeListReadersEvent

Declaration
public event EventHandler<BeforeListReadersEventArgs> BeforeListReadersEvent
Event Type
Type Description
System.EventHandler<BeforeListReadersEventArgs>
| Improve this Doc View Source

BeforeReleaseEvent

Declaration
public event EventHandler<BeforeReleaseEventArgs> BeforeReleaseEvent
Event Type
Type Description
System.EventHandler<BeforeReleaseEventArgs>

Implements

ICardContextObservable
ICardContext

Extension Methods

JsonHelpers.WriteToJsonFile(Object, String)
JsonHelpers.WriteToJsonFile(Object, String, Boolean)
JsonHelpers.WriteToJsonString(Object)
JsonHelpers.WriteToJsonString(Object, Boolean)
CardContextExtension.ToObservable(ICardContext)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX