public ChannelModeType GetModeType(char mode)
 {
     if (TypeA.IndexOf(mode) > -1)
     {
         return(ChannelModeType.TypeA);
     }
     if (TypeB.IndexOf(mode) > -1)
     {
         return(ChannelModeType.TypeB);
     }
     if (Statuses.IndexOf(mode) > -1)
     {
         return(ChannelModeType.TypeB);
     }
     if (TypeC.IndexOf(mode) > -1)
     {
         return(ChannelModeType.TypeC);
     }
     if (TypeD.IndexOf(mode) > -1)
     {
         return(ChannelModeType.TypeD);
     }
     return(ChannelModeType.Unknown);
 }
예제 #2
0
 public MultiConstructorType(TypeA a, TypeB b, TypeC c, TypeD d, TypeE e)
 {
 }
예제 #3
0
 public MultiConstructorType(TypeA a, TypeB b, TypeC c, TypeD d, TypeE e)
 {
 }
예제 #4
0
파일: ContainerTest.cs 프로젝트: naice/Jens
 public TypeD(TypeB typeB, TypeD typeD)
 {
     _typeA = new TypeA();
     _typeB = typeB;
     _typeD = typeD;
 }