mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-06 09:32:55 +00:00
15 lines
279 B
C#
15 lines
279 B
C#
namespace StockSharp.Configuration;
|
|
|
|
/// <summary>
|
|
/// Extension class.
|
|
/// </summary>
|
|
public static class Extensions
|
|
{
|
|
/// <summary>
|
|
/// </summary>
|
|
public static long? TryGetProductId()
|
|
=> Paths
|
|
.EntryAssembly?
|
|
.GetAttribute<ProductIdAttribute>()?
|
|
.ProductId;
|
|
} |