private void InitializeNewObject(INakedObject nakedObject, object rootObject) { var spec = nakedObject.Spec as IObjectSpec; Trace.Assert(spec != null); spec.Properties.ForEach(field => field.ToDefault(nakedObject)); CreateInlineObjects(nakedObject, rootObject); nakedObject.Created(); }