public ProjectAssetAttribute(ProjectAssetType type) { this.type = type; switch (type) { case ProjectAssetType.Bytes: this.extension = "bytes"; break; case ProjectAssetType.Xml: this.extension = "xml"; break; case ProjectAssetType.Json: this.extension = "json"; break; } }
public ProjectAssetAttribute(ProjectAssetType type, string extension) { this.type = type; this.extension = extension; }
public ProjectAssetSerializerAttribute(ProjectAssetType type, Type serializer) { this.type = type; this.serializer = serializer; }