public Resource(AssemblyResourceType type, string name, bool isPublic, string linkedFileName = null, byte[] data = null) { _data = data; Type = type; Name = name; IsPublic = isPublic; LinkedFileName = linkedFileName; }