InternalSetStatus() 개인적인 메소드

private InternalSetStatus ( Status status, int id, string fileName ) : void
status Status
id int
fileName string
리턴 void
예제 #1
0
        /// <summary>
        /// Sets the Status of the encoding of a current item.
        /// </summary>
        /// <param name="status">The current status.</param>
        /// <param name="id">The unique ID of the item.</param>
        /// <param name="fileName">The name of the output file.</param>
        public static void SetStatus(Status status, int id, string fileName = null)
        {
            if (_encoder == null)
            {
                return;
            }

            _encoder.InternalSetStatus(status, id, fileName);
        }
예제 #2
0
 /// <summary>
 /// Sets the Status of the encoding of a current item.
 /// </summary>
 /// <param name="status">The current status.</param>
 /// <param name="id">The unique ID of the item.</param>
 /// <param name="fileName">The name of the output file.</param>
 /// <param name="isIndeterminate">The state of the progress bar.</param>
 /// <param name="reason">The reason of the error.</param>
 public static void SetStatus(Status status, int id, string fileName = null, bool isIndeterminate = false, string reason = null)
 {
     _encoder?.InternalSetStatus(status, id, fileName, isIndeterminate, reason);
 }