Rename typeName -> ReflectionTypeName

This commit is contained in:
de4dot 2013-11-17 20:43:22 +01:00
parent 781ade32cd
commit e70ba4f1f0
2 changed files with 6 additions and 6 deletions

View File

@ -117,15 +117,15 @@ namespace de4dot.code.resources {
} }
public CharArrayResourceData Create(char[] value) { public CharArrayResourceData Create(char[] value) {
return new CharArrayResourceData(CreateUserResourceType(CharArrayResourceData.typeName), value); return new CharArrayResourceData(CreateUserResourceType(CharArrayResourceData.ReflectionTypeName), value);
} }
public IconResourceData CreateIcon(byte[] value) { public IconResourceData CreateIcon(byte[] value) {
return new IconResourceData(CreateUserResourceType(IconResourceData.typeName), value); return new IconResourceData(CreateUserResourceType(IconResourceData.ReflectionTypeName), value);
} }
public ImageResourceData CreateImage(byte[] value) { public ImageResourceData CreateImage(byte[] value) {
return new ImageResourceData(CreateUserResourceType(ImageResourceData.typeName), value); return new ImageResourceData(CreateUserResourceType(ImageResourceData.ReflectionTypeName), value);
} }
public BinaryResourceData CreateSerialized(byte[] value) { public BinaryResourceData CreateSerialized(byte[] value) {

View File

@ -41,7 +41,7 @@ namespace de4dot.code.resources {
} }
class CharArrayResourceData : UserResourceData { class CharArrayResourceData : UserResourceData {
public static readonly string typeName = "System.Char[],mscorlib"; public static readonly string ReflectionTypeName = "System.Char[],mscorlib";
char[] data; char[] data;
public CharArrayResourceData(UserResourceType type, char[] data) public CharArrayResourceData(UserResourceType type, char[] data)
@ -59,7 +59,7 @@ namespace de4dot.code.resources {
} }
class IconResourceData : UserResourceData { class IconResourceData : UserResourceData {
public static readonly string typeName = "System.Drawing.Icon,System.Drawing"; public static readonly string ReflectionTypeName = "System.Drawing.Icon,System.Drawing";
Icon icon; Icon icon;
public IconResourceData(UserResourceType type, byte[] data) public IconResourceData(UserResourceType type, byte[] data)
@ -77,7 +77,7 @@ namespace de4dot.code.resources {
} }
class ImageResourceData : UserResourceData { class ImageResourceData : UserResourceData {
public static readonly string typeName = "System.Drawing.Bitmap,System.Drawing"; public static readonly string ReflectionTypeName = "System.Drawing.Bitmap,System.Drawing";
Bitmap bitmap; Bitmap bitmap;
public ImageResourceData(UserResourceType type, byte[] data) public ImageResourceData(UserResourceType type, byte[] data)