init
This commit is contained in:
48
Common/DTS.Common/Interface/IAssemblyInfo.cs
Normal file
48
Common/DTS.Common/Interface/IAssemblyInfo.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Windows.Media.Imaging;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
#region ImageAttribute
|
||||
public interface IAssemblyImageAttribute
|
||||
{
|
||||
string AssemblyName { get; }
|
||||
BitmapImage AssemblyImage { get; }
|
||||
eAssemblyRegion AssemblyRegion { get; }
|
||||
Type GetType();
|
||||
BitmapImage GetAssemblyImage();
|
||||
string GetAssemblyName();
|
||||
eAssemblyRegion GetAssemblyRegion();
|
||||
}
|
||||
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
|
||||
public abstract class ImageAttribute : Attribute, IAssemblyImageAttribute
|
||||
{
|
||||
public abstract string AssemblyName { get; }
|
||||
public abstract string AssemblyGroup { get; }
|
||||
public abstract eAssemblyRegion AssemblyRegion { get; }
|
||||
public abstract BitmapImage AssemblyImage { get; }
|
||||
public abstract Type GetAttributeType();
|
||||
public abstract BitmapImage GetAssemblyImage();
|
||||
public abstract string GetAssemblyName();
|
||||
public abstract string GetAssemblyGroup();
|
||||
|
||||
public abstract eAssemblyRegion GetAssemblyRegion();
|
||||
}
|
||||
#endregion ImageAttribute
|
||||
|
||||
#region NameAttribute
|
||||
public interface IAssemblyNameAttribute
|
||||
{
|
||||
String AssemblyName { get; }
|
||||
Type GetType();
|
||||
string GetAssemblyName();
|
||||
}
|
||||
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
|
||||
public abstract class TextAttribute : Attribute, IAssemblyNameAttribute
|
||||
{
|
||||
public abstract string AssemblyName { get; }
|
||||
public abstract Type GetAttributeType();
|
||||
public abstract string GetAssemblyName();
|
||||
}
|
||||
#endregion NameAttribute
|
||||
}
|
||||
Reference in New Issue
Block a user