In .NET Framework, custom attributes are user defined attributes which enable providing metadata for application elements such as assemblies, classes and methods.
Is there any way to add custom attributes to properties in EF generated code? The only thing I can see …
entity-framework custom-attributesI have created an Attribute class called RelatedPropertyAttribute: [AttributeUsage(AttributeTargets.Property)] public class RelatedPropertyAttribute: Attribute { public string RelatedProperty { get; private …
c# .net reflection attributes custom-attributesI have custom attribute defined like so: [AttributeUsage(AttributeTargets.Field)] public class EnumDisplayAttribute : Attribute { public string Description { get; private set; } …
c# custom-attributesI'm trying to understand something. From this blogpost http://bradwilson.typepad.com/blog/2010/10/mvc3-unobtrusive-validation.html Bridging HTML and jQuery …
jquery jquery-validate asp.net-mvc-4 custom-attributes unobtrusive-validationIs it possible to have a delegate as the parameter of an attribute? Like this: public delegate IPropertySet ConnectionPropertiesDelegate(); public …
c# delegates custom-attributesI want to secure controller action so that only users with role "Admin" can get in. I don't use Role/…
c# asp.net-mvc asp.net-mvc-3 custom-attributesI need change attribute's parameter during runtime. I simplified my problem to simple example. Attribute class: [AttributeUsage(AttributeTargets.Property)] public …
c# reflection runtime custom-attributesI have a Java library I'm considering porting to C#. The Java library makes extensive use of annotations (at both …
c# java attributes annotations custom-attributesThis problem has been solved, see comments for details. I am extending an existing Android View and loading some custom …
android custom-attributes android-xml android-custom-viewif i have created an attribute: public class TableAttribute : Attribute { public string HeaderText { get; set; } } which i apply to a …
c# custom-attributes