コード例 #1
0
ファイル: UsePlanets.cs プロジェクト: marcarvalho/byps
		public UsePlanets(EnumPlanets @planet, EnumPlanets @planet2, EnumPlanets[] @arrayOfPlanets, List<EnumPlanets> @listOfPlanets, IDictionary<String,EnumPlanets> @mapOfPlanets) {
			this.planetValue = @planet;
			this.planet2Value = @planet2;
			this.arrayOfPlanetsValue = @arrayOfPlanets;
			this.listOfPlanetsValue = @listOfPlanets;
			this.mapOfPlanetsValue = @mapOfPlanets;
		}		
コード例 #2
0
 public UsePlanets(EnumPlanets @planet, EnumPlanets @planet2, EnumPlanets[] @arrayOfPlanets, List <EnumPlanets> @listOfPlanets, IDictionary <String, EnumPlanets> @mapOfPlanets, MyEncoding @encoding)
 {
     this.planetValue         = @planet;
     this.planet2Value        = @planet2;
     this.arrayOfPlanetsValue = @arrayOfPlanets;
     this.listOfPlanetsValue  = @listOfPlanets;
     this.mapOfPlanetsValue   = @mapOfPlanets;
     this.encodingValue       = @encoding;
 }
コード例 #3
0
ファイル: TestRemoteEnums.cs プロジェクト: teberhardt/byps
        public void testRemoteEnums()
        {
            log.info("testRemoteEnums(");
            remote.SetPlanet(EnumPlanets.Earth);
            EnumPlanets r = remote.GetPlanet();

            TestUtils.assertEquals(log, "enum", EnumPlanets.Earth, r);

            log.info(")testRemoteEnums");
        }