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.com
and become a part of our growing community
Name (optional):
Comment (URLs are allowed and must start with http:// or https://; all tags will be encoded):
Remaining character count: