Esempio n. 1
0
 //RemoteServerでのデータ生成
 public OneBrowse(BrowseKind browseKind, string name, long size, DateTime dt)
 {
     BrowseKind = browseKind;
     Name       = name;
     Size       = size;
     Dt         = dt;
 }
Esempio n. 2
0
 //RemoteServerでのデータ生成
 public OneBrowse(BrowseKind browseKind, string name, long size, DateTime dt)
 {
     BrowseKind = browseKind;
     Name = name;
     Size = size;
     Dt = dt;
 }
Esempio n. 3
0
 void IAttributesConfigurable.Configure(System.Collections.Specialized.StringDictionary attributes)
 {
     if (attributes.ContainsKey(BrowseRootAttribute))
     {
         root = (BrowseRoot)Enum.Parse(typeof(BrowseRoot), attributes[BrowseRootAttribute]);
     }
     if (attributes.ContainsKey(BrowseKindAttribute))
     {
         kind = (BrowseKind)Enum.Parse(typeof(BrowseKind), attributes[BrowseKindAttribute]);
     }
     if (attributes.ContainsKey(FilterAttribute))
     {
         filterTypeName = attributes[FilterAttribute];
     }
     if (attributes.ContainsKey(RootAttribute))
     {
         customRootEntryName = attributes[RootAttribute];
     }
     if (attributes.ContainsKey(UserCodeAttribute))
     {
         onlyUserCode = Boolean.Parse(attributes[UserCodeAttribute]);
     }
     this.attributes = attributes;
 }