public IRegistrationBuilder SingleInstance()
        {
            #region Please implement the method

            /*
             * Please create a single instance registration. Please refer to
             * InstancePerDependency as an example.
             */
            Lifetime = new RootScopeLifetime();
            Sharing  = InstanceSharing.Shared;
            return(this);

            #endregion
        }
 public IRegistrationBuilder SingleInstance()
 {
     Sharing  = InstanceSharing.Shared;
     Lifetime = new RootScopeLifetime();
     return(this);
 }