Beispiel #1
0
        public static IContentRegistration DefaultValue(this IContentRegistration registration, string name, object value)
        {
            if (registration == null)
            {
                return(null);
            }

            registration.RegisterModifier(new N2.Details.DefaultValueAttribute {
                Name = name, Value = value
            });
            return(registration);
        }