C# Class PhotoSharingApp.Portable.Extensions.PhotoTypeContractExtensions

Provides extensions for PhotoTypeContract.
Mostrar archivo Open project: Microsoft/Appsample-Photosharing

Public Methods

Method Description
ToSideLength ( this photoTypeContract ) : uint

Returns the required image side length for the given photo type.

Method Details

ToSideLength() public static method

Returns the required image side length for the given photo type.
Invalid photo type.
public static ToSideLength ( this photoTypeContract ) : uint
photoTypeContract this The photo type contract.
return uint