Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

IReference in WinRT is considered an interface because it defines a contract between a consumer and a provider. The consumer requires a way to access a value that may or may not be present, and the provider gives a means of accessing that value if it's there. This contract, which specifies the methods and properties that must be implemented by the provider, ensures that both parties understand how to interact with each other correctly. Hence, IReference is an interface in WinRT.