blob: 35869570a0f379c8df544b28606aaecd0bec500b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
using System;
namespace Xamarin.Forms
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public class ExportEffectAttribute : Attribute
{
public ExportEffectAttribute(Type effectType, string uniqueName)
{
if (uniqueName.Contains("."))
throw new ArgumentException("uniqueName must not contain a .");
Type = effectType;
Id = uniqueName;
}
internal string Id { get; private set; }
internal Type Type { get; private set; }
}
}
|