HasValue() abstract private method

abstract private HasValue ( TargetMemoryAccess target ) : bool
target TargetMemoryAccess
return bool
コード例 #1
0
ファイル: ObjectFormatter.cs プロジェクト: baulig/debugger
        protected void FormatNullable(Thread target, TargetNullableObject nullable)
        {
            bool has_value = nullable.HasValue (target);

            if (has_value) {
                TargetObject value = nullable.GetValue (target);
                FormatObjectRecursed (target, value, true);
            } else {
                Append ("null");
            }
        }