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

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

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

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

            return(FileInnerVariable.GetSize(file));
        }