Inheritance: Dev2.Network.ServerProxy
        public static IServer CreateEqualityEnvironmentModel(Guid resourceID, string resourceName, Guid serverID, string serverUri)
        {
            var proxy = new TestEqualityConnection(serverID, serverUri);

            return(new Server(resourceID, proxy)
            {
                Name = resourceName
            });
        }
Ejemplo n.º 2
0
        public static IEnvironmentModel CreateEqualityEnvironmentModel(Guid resourceID, string resourceName, Guid serverID, string serverUri)
        {
            // See .. EnvironmentRepository.CreateEnvironmentModel()
            var proxy = new TestEqualityConnection(serverID, serverUri);

            return(new EnvironmentModel(resourceID, proxy)
            {
                Name = resourceName
            });
        }
 public static IEnvironmentModel CreateEqualityEnvironmentModel(Guid resourceID, string resourceName, Guid serverID, string serverUri)
 {
     // See .. EnvironmentRepository.CreateEnvironmentModel()
     var proxy = new TestEqualityConnection(serverID, serverUri);
     return new EnvironmentModel(resourceID, proxy) { Name = resourceName };
 }