Show / Hide Table of Contents

Class ResourceFileFactory

Allows for creating resource files. This computes required hashes for download checks.

Inheritance
object
ResourceFileFactory
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SlipeServer.Server.Resources
Assembly: SlipeServer.Server.dll
Syntax
public static class ResourceFileFactory

Methods

| Edit this page View Source

FromBytes(byte[], string, ResourceFileType?)

Declaration
public static ResourceFile FromBytes(byte[] content, string fileName, ResourceFileType? fileType = null)
Parameters
Type Name Description
byte[] content
string fileName
ResourceFileType? fileType
Returns
Type Description
ResourceFile
| Edit this page View Source

FromStream(Stream, string, ResourceFileType?)

Declaration
public static ResourceFile FromStream(Stream content, string fileName, ResourceFileType? fileType = null)
Parameters
Type Name Description
Stream content
string fileName
ResourceFileType? fileType
Returns
Type Description
ResourceFile
| Edit this page View Source

FromString(string, string, ResourceFileType?)

Declaration
public static ResourceFile FromString(string content, string fileName, ResourceFileType? fileType = null)
Parameters
Type Name Description
string content
string fileName
ResourceFileType? fileType
Returns
Type Description
ResourceFile
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX