Print() private method

private Print ( string name, string type, Object o ) : void
name string
type string
o Object
return void
示例#1
0
        virtual internal void ToStringInternal(TpmStructPrinter p)
        {
            bool enabled = dbg.Enabled;

            dbg.Enabled = false;
            var members = GetFieldsToMarshal();

            dbg.Enabled = enabled;
            foreach (var mem in members)
            {
                MemberInfo memInfo = mem;
                object     memVal  = Globs.GetMember(memInfo, this);
                Type       memType = Globs.GetMemberType(memInfo);
                p.Print(memInfo.Name, Globs.ToCSharpStyle(memType.Name), memVal);
            }
        }
示例#2
0
 virtual internal void ToStringInternal(TpmStructPrinter p)
 {
     bool enabled = dbg.Enabled;
     dbg.Enabled = false;
     var members = GetFieldsToMarshal();
     dbg.Enabled = enabled;
     foreach (var mem in members)
     {
         MemberInfo memInfo = mem;
         object memVal = Globs.GetMember(memInfo, this);
         Type memType = Globs.GetMemberType(memInfo);
         p.Print(memInfo.Name, Globs.ToCSharpStyle(memType.Name), memVal);
     }
 }
示例#3
0
 internal override void ToStringInternal(TpmStructPrinter p)
 {
     p.Print("HashAlg", "TpmAlgId", HashAlg);
     p.Print("HashData", "byte", HashData);
 }
示例#4
0
 internal override void ToStringInternal(TpmStructPrinter p)
 {
     p.Print("HashAlg", "TpmAlgId", HashAlg);
     p.Print("HashData", "byte", HashData);
 }