blob: 87a9f8efad027717d3f58b2c84db5d8564125cf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media.Imaging;
namespace Tango.Scripting.IDE.ProjectItems
{
public class ReferenceAssemblyItem : ProjectItem
{
public String Path { get; set; }
public override BitmapSource Image => GetImage("Images/Reference.png");
public ReferenceAssemblyItem()
{
Commands = new ObservableCollection<ISolutionItemCommand>
{
new SolutionItemCommand(Remove) { Name = "Remove" }
};
}
/// <summary>
/// Removes the specified object from References.
/// </summary>
private void Remove(object obj)
{
throw new NotImplementedException();
}
public override FrameworkElement OnGetView()
{
return null;
}
public override bool CanOpen => false;
}
}
|