コード例 #1
0
 /// <summary>
 /// Constructs the instance of ImageContainer from data from PowerItem
 /// </summary>
 /// <param name="objectToGetIcons">Path to file or special object</param>
 /// <param name="typeDescriptor">Tag that will be set in cache for this ImageContainer. Used for debugging.</param>
 /// <param name="specialId">SpecialFolderId from source PowerItem</param>
 public ImageContainer(string objectToGetIcons, string typeDescriptor, API.Csidl specialId)
 {
     _initialObject    = objectToGetIcons;
     _objectDescriptor = typeDescriptor;
     _id = specialId;
 }
コード例 #2
0
ファイル: ImageManager.cs プロジェクト: beavis28/power8
 /// <summary>
 /// Constructs the instance of ImageContainer from data from PowerItem
 /// </summary>
 /// <param name="objectToGetIcons">Path to file or special object</param>
 /// <param name="typeDescriptor">Tag that will be set in cache for this ImageContainer. Used for debugging.</param>
 /// <param name="specialId">SpecialFolderId from source PowerItem</param>
 public ImageContainer(string objectToGetIcons, string typeDescriptor, API.Csidl specialId)
 {
     _initialObject = objectToGetIcons;
     _objectDescriptor = typeDescriptor;
     _id = specialId;
 }