コード例 #1
0
ファイル: DataContextEntry.cs プロジェクト: beyaz/DataFlow
        /// <summary>
        ///     Initializes a new instance of the <see cref="DataContextEntry" /> class.
        /// </summary>
        public DataContextEntry(string key, string layer, object value)
        {
            Key   = key;
            Layer = layer;
            Value = value;

            shortName = ShortNameHelper.GetShortName(key);
        }
コード例 #2
0
 /// <summary>
 ///     Returns a <see cref="System.String" /> that represents this instance.
 /// </summary>
 public override string ToString()
 {
     return($"name: {ShortNameHelper.GetShortName(Id)} - Type: {typeof(TValueType).FullName}");
 }