/// <summary> /// Creates a new instance of PackingSlipProvider. /// </summary> /// <param name="contentManager">A Content instance.</param> /// <param name="packingslip">The name of a packingslip (xml) file.</param> /// <param name="codec">The codec of the file for which to provide access.</param> public PackingslipProvider(Content contentManager, string packingslip, IContentCodec <T> codec) { this.ContentManager = contentManager; this.PackingSlipFile = packingslip; this.Codec = codec; }
/// <summary> /// Creates a new instance of FAR1Provider. /// </summary> /// <param name="contentManager">A Content instance.</param> /// <param name="codec">The codec of the type of file in the FAR1 archive for which to provide access.</param> /// <param name="farFilePattern">A regular expression of FAR1 archives with files of the specified codec.</param> public FAR1Provider(Content contentManager, IContentCodec <T> codec, Regex farFilePattern) { this.ContentManager = contentManager; this.Codec = codec; this.FarFilePattern = farFilePattern; }
/// <summary> /// Creates a new instance of FAR1Provider. /// </summary> /// <param name="contentManager">A Content instance.</param> /// <param name="codec">The codec of the type of file in the FAR1 archive for which to provide access.</param> /// <param name="farFiles">A list of FAR1 archives with files of the specified codec.</param> public FAR1Provider(Content contentManager, IContentCodec <T> codec, params string[] farFiles) { this.ContentManager = contentManager; this.Codec = codec; this.FarFiles = farFiles; }
public FAR3Provider(Content ContentManager, IContentCodec <T> Codec, Regex FarFilePattern) { this.ContentManager = ContentManager; this.Codec = Codec; this.FarFilePattern = FarFilePattern; }
/// <summary> /// Creates a new FAR3Provider. /// </summary> /// <param name="ContentManager">A Content instance.</param> /// <param name="Codec">A content codec.</param> /// <param name="FarFiles">A list of FAR3 filenames.</param> public FAR3Provider(Content ContentManager, IContentCodec <T> Codec, params string[] FarFiles) { this.ContentManager = ContentManager; this.Codec = Codec; this.m_FarFiles = FarFiles; }
/// <summary> /// Creates a new instance of IFFProvider. /// </summary> /// <param name="contentManager">A Content instance.</param> /// <param name="packingslip">The name of a packingslip (xml) file.</param> /// <param name="codec">The codec of the file for which to provide access.</param> public IFFProvider(Content contentManager, IContentCodec <T> codec, string iffFile) { this.ContentManager = contentManager; this.IffFile = iffFile; this.Codec = codec; }