mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-06 17:42:13 +00:00
56 lines
1.5 KiB
C#
56 lines
1.5 KiB
C#
namespace StockSharp.Community
|
|
{
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Runtime.Serialization;
|
|
|
|
using StockSharp.Localization;
|
|
|
|
/// <summary>
|
|
/// Strategy content types.
|
|
/// </summary>
|
|
[DataContract]
|
|
public enum StrategyContentTypes
|
|
{
|
|
/// <summary>
|
|
/// Source code (if the strategy is distributed in source code).
|
|
/// </summary>
|
|
[EnumMember]
|
|
[Display(ResourceType = typeof(LocalizedStrings), Name = LocalizedStrings.Str3180Key)]
|
|
SourceCode,
|
|
|
|
/// <summary>
|
|
/// The compiled build (if the strategy is distributed as a finished build).
|
|
/// </summary>
|
|
[EnumMember]
|
|
[Display(ResourceType = typeof(LocalizedStrings), Name = LocalizedStrings.Str3182Key)]
|
|
CompiledAssembly,
|
|
|
|
/// <summary>
|
|
/// Schema in visual designer (if the strategy is distributed as a schema).
|
|
/// </summary>
|
|
[EnumMember]
|
|
[Display(ResourceType = typeof(LocalizedStrings), Name = LocalizedStrings.SchemaKey)]
|
|
Schema,
|
|
|
|
/// <summary>
|
|
/// Encrypted version of <see cref="Schema"/>.
|
|
/// </summary>
|
|
[EnumMember]
|
|
[Display(ResourceType = typeof(LocalizedStrings), Name = LocalizedStrings.EncryptedSchemaKey)]
|
|
EncryptedSchema,
|
|
|
|
/// <summary>
|
|
/// The compiled executable (.exe) application.
|
|
/// </summary>
|
|
[EnumMember]
|
|
[Display(ResourceType = typeof(LocalizedStrings), Name = LocalizedStrings.StandaloneAppKey)]
|
|
StandaloneApp,
|
|
|
|
/// <summary>
|
|
/// Indicator.
|
|
/// </summary>
|
|
[EnumMember]
|
|
[Display(ResourceType = typeof(LocalizedStrings), Name = LocalizedStrings.Str1981Key)]
|
|
Indicator,
|
|
}
|
|
} |