HandCoded.Validation.RuleSet.ForName C# (CSharp) 메소드

ForName() 공개 정적인 메소드

Returns a reference to the named RuleSet instance if it exists.
public static ForName ( string name ) : RuleSet
name string The name of the required RuleSet.
리턴 RuleSet
        public static RuleSet ForName(string name)
        {
            lock (extent) {
                return (extent.ContainsKey (name) ? extent [name] : new RuleSet (name));
            }
        }