예제 #1
0
 public fileInformation(storageType storage, string url, string fileName, string subType, string extendedInfo)
 {
     this.storage      = storage.ToEnumString();
     this.url          = url;
     this.fileName     = fileName;
     this.subType      = subType;
     this.extendedInfo = extendedInfo;
 }
예제 #2
0
        public static string ToEnumString(this storageType me)
        {
            switch (me)
            {
            case storageType.Server: return("Server");

            case storageType.Url: return("Url");

            case storageType.Link: return("Link");

            default: return("ERROR");
            }
        }