Navigation

Categories
Show Navigation Next Topic  »

ExcludeFromEvaluationAttribute class

Namespace: CodeEffects.Rule.Attributes
Assemblies: CodeEffects.Rule.Editor.Asp.dll, CodeEffects.Rule.Editor.Mvc.dll, CodeEffects.Rule.Editor.Core.dll, CodeEffects.Rule.Editor.Net.dll

If applied to any member of the source object, notifies Rule Editor that this member should be ignored.

Syntax

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Method,
	AllowMultiple = false)]
public class ExcludeFromEvaluationAttribute : System.Attribute

Example

using CodeEffects.Rule.Attributes;

namespace TestLibrary
{
	public class Thing
	{
		[ExcludeFromEvaluation]
		public int ID { get; set; }

		public string Name { get; set; }
	}
}
Comments: 0
Post your questions about Code Effects on Stackoverflow and become a part of our growing community