Read() публичный статический Метод

public static Read ( Type assemblyContainingType, string path ) : string
assemblyContainingType System.Type
path string
Результат string
Пример #1
0
 public SocketNodeInstance(string projectPath, string[] watchFileExtensions = null) : base(
         EmbeddedResourceReader.Read(
             typeof(SocketNodeInstance),
             "/Content/Node/entrypoint-socket.js"),
         projectPath)
 {
     _watchFileExtensions = watchFileExtensions;
 }
Пример #2
0
 public HttpNodeInstance(string projectPath, int port = 0, string[] watchFileExtensions = null)
     : base(
         EmbeddedResourceReader.Read(
             typeof(HttpNodeInstance),
             "/Content/Node/entrypoint-http.js"),
         projectPath,
         MakeCommandLineOptions(port, watchFileExtensions))
 {
     _client = new HttpClient();
 }
 public InputOutputStreamNodeInstance(string projectPath)
     : base(EmbeddedResourceReader.Read(typeof(InputOutputStreamNodeInstance), "/Content/Node/entrypoint-stream.js"), projectPath)
 {
 }