示例#1
0
 public void WritePID(ProcessVM vm)
 {
     if (useHex)
     {
         output.Write(BoxedTextColor.Number, string.Format("0x{0:X8}", vm.PID));
     }
     else
     {
         output.Write(BoxedTextColor.Number, string.Format("{0}", vm.PID));
     }
 }
示例#2
0
 public void WritePID(ProcessVM vm)
 {
     if (useHex)
     {
         output.Write(string.Format("0x{0:X8}", vm.PID), TextTokenType.Number);
     }
     else
     {
         output.Write(string.Format("{0}", vm.PID), TextTokenType.Number);
     }
 }
示例#3
0
 public void WriteCLRVersion(ProcessVM vm)
 {
     output.Write(vm.CLRVersion, TextTokenType.Number);
 }
示例#4
0
		public void WriteType(ProcessVM vm) => output.Write(BoxedTextColor.EnumField, TypeToString(vm.CLRTypeInfo.CLRType));
示例#5
0
		public void WriteMachine(ProcessVM vm) {
			output.Write(ToString(vm.Machine), TextTokenKind.InstanceMethod);
		}
示例#6
0
		public void WriteCLRVersion(ProcessVM vm) {
			output.Write(vm.CLRVersion, TextTokenKind.Number);
		}
示例#7
0
		public void WriteFullPath(ProcessVM vm) {
			WriteFilename(vm, vm.FullPath);
		}
示例#8
0
		void WriteFilename(ProcessVM vm, string filename) {
			output.WriteFilename(filename);
		}
示例#9
0
 public void WriteTitle(ProcessVM vm) => output.Write(BoxedTextColor.String, vm.Title);
示例#10
0
 public void WriteMachine(ProcessVM vm) => output.Write(BoxedTextColor.InstanceMethod, ToString(vm.Machine));
示例#11
0
 public void WriteType(ProcessVM vm) => output.Write(BoxedTextColor.EnumField, TypeToString(vm.CLRTypeInfo.CLRType));
示例#12
0
 public void WriteCLRVersion(ProcessVM vm) => output.Write(BoxedTextColor.Number, vm.CLRVersion);
示例#13
0
		public void WritePID(ProcessVM vm) {
			if (useHex)
				output.Write(BoxedTextColor.Number, string.Format("0x{0:X8}", vm.PID));
			else
				output.Write(BoxedTextColor.Number, string.Format("{0}", vm.PID));
		}
示例#14
0
		public void WriteTitle(ProcessVM vm) => output.Write(BoxedTextColor.String, vm.Title);
示例#15
0
		public void WriteMachine(ProcessVM vm) => output.Write(BoxedTextColor.InstanceMethod, ToString(vm.Machine));
示例#16
0
 public void WriteType(ProcessVM vm)
 {
     output.Write(TypeToString(vm.CLRTypeInfo.CLRType), TextTokenType.EnumField);
 }
示例#17
0
 public void WriteMachine(ProcessVM vm)
 {
     output.Write(ToString(vm.Machine), TextTokenType.InstanceMethod);
 }
示例#18
0
 public void WriteTitle(ProcessVM vm)
 {
     output.Write(vm.Title, TextTokenType.String);
 }
示例#19
0
		public void WriteFilename(ProcessVM vm) {
			WriteFilename(vm, DebugOutputUtils.GetFilename(vm.FullPath));
		}
示例#20
0
 void WriteFilename(ProcessVM vm, string filename)
 {
     output.WriteFilename(filename);
 }
示例#21
0
		public void WritePID(ProcessVM vm) {
			if (useHex)
				output.Write(string.Format("0x{0:X8}", vm.PID), TextTokenKind.Number);
			else
				output.Write(string.Format("{0}", vm.PID), TextTokenKind.Number);
		}
示例#22
0
 public void WriteFilename(ProcessVM vm)
 {
     WriteFilename(vm, DebugOutputUtils.GetFilename(vm.FullPath));
 }
示例#23
0
		public void WriteType(ProcessVM vm) {
			output.Write(TypeToString(vm.CLRTypeInfo.CLRType), TextTokenKind.EnumField);
		}
示例#24
0
 public void WriteFullPath(ProcessVM vm)
 {
     WriteFilename(vm, vm.FullPath);
 }
示例#25
0
		public void WriteTitle(ProcessVM vm) {
			output.Write(vm.Title, TextTokenKind.String);
		}
示例#26
0
		public void WriteCLRVersion(ProcessVM vm) => output.Write(BoxedTextColor.Number, vm.CLRVersion);