Example #1
0
        public static FilePokeOptions FilePoke(this ProtoServer protoServer, string filePath, Encoding encoding)
        {
            var proto = new ProtoFilePokeTask(filePath, encoding);

            protoServer.RegisterProtoTask(proto);
            return(proto);
        }
Example #2
0
 public static FilePokeOptions FilePoke(this ProtoServer protoServer, string filePath, Encoding encoding)
 {
     var proto = new ProtoFilePokeTask(filePath, encoding);
     protoServer.RegisterProtoTask(proto);
     return proto;
 }