Class StringWithContentType
public class StringWithContentType : IHasContentType
- Inheritance
-
objectStringWithContentType
- Implements
- Derived
Constructors
StringWithContentType(string)
public StringWithContentType(string contentType)
Parameters
contentType
string
StringWithContentType(string, string)
public StringWithContentType(string content, string contentType)
Parameters
Properties
Content
public string Content { get; set; }
Property Value
ContentType
public string ContentType { get; set; }
Property Value
Operators
explicit operator string(StringWithContentType)
public static explicit operator string(StringWithContentType str)
Parameters
Returns
implicit operator StringWithContentType((string, string))
public static implicit operator StringWithContentType((string, string) tuple)
Parameters
tuple
(string FilePath, string ContentType)