Esempio n. 1
0
 internal static M Get(Identity id)
 {
     if (InstanceStore.HasCollection(id))
     {
         return(InstanceStore.GetInstance(id));
     }
     else
     {
         return(InstanceStore.AddInstanceFromStorage(id, Materializer.Read(Definitions.GetIdentities(id), Settings).ToList()).GetInstance());
     }
 }