Example #1
0
 public MatBlazorRemoteStreamReader(IJSRuntime jsRuntime, ElementReference reference, MatFileUploadEntry entry,
                                    int messageSize, int messageLength, BaseMatFileUpload component)
     : base(jsRuntime, reference, entry, component)
 {
     _messageSize   = messageSize;
     _messageLength = messageLength;
 }
Example #2
0
 public BaseMatBlazorStreamReader(IJSRuntime jsRuntime, ElementReference reference, MatFileUploadEntry entry,
                                  BaseMatFileUpload component)
 {
     _jsRuntime = jsRuntime;
     _reference = reference;
     _entry     = entry;
     _component = component;
 }
Example #3
0
        // internal void RaiseOnDataRead()
        // {
        //     OnDataRead?.Invoke(this, null);
        // }

        public void Init(BaseMatFileUpload fileUpload)
        {
            Owner = fileUpload;
        }