// -----------------------------------------------------------------------
//
// Copyright 2014 MIT Licence. See licence.md for more information.
//
// -----------------------------------------------------------------------
namespace Perspex.Platform
{
using System;
///
/// Represents a platform-specific handle.
///
public class PlatformHandle : IPlatformHandle
{
///
/// Initializes a new instance of the class.
///
/// The handle.
///
/// An optional string that describes what represents.
///
public PlatformHandle(IntPtr handle, string descriptor)
{
this.Handle = handle;
this.HandleDescriptor = descriptor;
}
///
/// Gets the handle.
///
public IntPtr Handle { get; }
///
/// Gets an optional string that describes what represents.
///
public string HandleDescriptor { get; }
}
}