Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.Xaml/System.Windows.Markup/MarkupExtensionReturnTypeAttribute.cs')
-rwxr-xr-xmcs/class/System.Xaml/System.Windows.Markup/MarkupExtensionReturnTypeAttribute.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/class/System.Xaml/System.Windows.Markup/MarkupExtensionReturnTypeAttribute.cs b/mcs/class/System.Xaml/System.Windows.Markup/MarkupExtensionReturnTypeAttribute.cs
index b42325a1b03..763a902c34f 100755
--- a/mcs/class/System.Xaml/System.Windows.Markup/MarkupExtensionReturnTypeAttribute.cs
+++ b/mcs/class/System.Xaml/System.Windows.Markup/MarkupExtensionReturnTypeAttribute.cs
@@ -36,6 +36,16 @@ namespace System.Windows.Markup
ReturnType = returnType;
}
+ [Obsolete ("Unused. Use MarkupExtensionReturnTypeAttribute(Type) or XamlSetMarkupExtensionAttribute.")]
+ public MarkupExtensionReturnTypeAttribute (Type returnType, Type expressionType)
+ : this (returnType)
+ {
+ ExpressionType = expressionType;
+ }
+
public Type ReturnType { get; private set; }
+
+ [ObsoleteAttribute ("Unused. Use XamlSetMarkupExtensionAttribute functionality instead.")]
+ public Type ExpressionType { get; private set; }
}
}