UploadError enc.IEncodable <UploadError> .Decode(enc.IDecoder decoder) { switch (decoder.GetUnionName()) { case "path": var path = new UploadWriteFailed(); return(new Path(((enc.IEncodable <UploadWriteFailed>)path).Decode(decoder))); default: return(Other.Instance); } }
/// <summary> /// <para>Initializes a new instance of the <see cref="Path" /> class.</para> /// </summary> /// <param name="value">The value</param> public Path(UploadWriteFailed value) { this.Value = value; }