Exemple #1
0
        public override DateTime ToTime()
        {
            string file = RuntimeVariables.GetInstance().GetValueString("this");

            try
            {
                return(FileInnerVariable.GetCreation(file));
            }
            catch (Exception)
            {
                return(DateTime.MinValue);
            }
        }
Exemple #2
0
        public override string ToString()
        {
            string file = RuntimeVariables.GetInstance().GetValueString("this");

            return(FileInnerVariable.GetFullname(file));
        }
Exemple #3
0
        public override bool ToBool()
        {
            string file = RuntimeVariables.GetInstance().GetValueString("this");

            return(FileInnerVariable.Hidden(file));
        }
Exemple #4
0
        public override decimal ToNumber()
        {
            string file = RuntimeVariables.GetInstance().GetValueString("this");

            return(FileInnerVariable.GetSize(file));
        }