Exemple #1
0
 // Token: 0x0600042B RID: 1067 RVA: 0x00004917 File Offset: 0x00002B17
 public override void imethod_1(bool bool_1, Interface6 interface6_0)
 {
     this.bool_0 = bool_1;
     this.imethod_15();
     this.interface2_0.imethod_0();
     this.interface1_0.imethod_1(bool_1, interface6_0);
 }
Exemple #2
0
 // Token: 0x06001032 RID: 4146 RVA: 0x00048CF4 File Offset: 0x00046EF4
 private bool method_2(string string_0)
 {
     if (!string.IsNullOrEmpty(string_0))
     {
         Interface6 @interface = this.imethod_4();
         if (string_0 != ((@interface != null) ? @interface.imethod_6() : null) && string.IsNullOrEmpty(this.dnXgedsFyK(string_0)))
         {
             bool flag = false;
             if (this.method_1().HasAttributes)
             {
                 foreach (XAttribute xattribute in this.method_1().Attributes())
                 {
                     if (xattribute.Name.LocalName == "xmlns" && string.IsNullOrEmpty(xattribute.Name.NamespaceName) && xattribute.Value == string_0)
                     {
                         flag = true;
                     }
                 }
             }
             if (!flag)
             {
                 return(true);
             }
         }
     }
     return(false);
 }
Exemple #3
0
    // Token: 0x06001033 RID: 4147 RVA: 0x0000D986 File Offset: 0x0000BB86
    public override Interface6 imethod_5(Interface6 interface6_0)
    {
        Interface6 result = base.imethod_5(interface6_0);

        this.list_1 = null;
        return(result);
    }
Exemple #4
0
 // Token: 0x060004D8 RID: 1240 RVA: 0x000053F6 File Offset: 0x000035F6
 public Class66(Interface6 interface6_1, Interface8 interface8_1)
 {
     this.interface6_0 = interface6_1;
     this.interface8_0 = interface8_1;
     this.byte_1       = new byte[interface6_1.imethod_2()];
     this.int_0        = 0;
 }
Exemple #5
0
    // Token: 0x06001030 RID: 4144 RVA: 0x00048BF4 File Offset: 0x00046DF4
    public void imethod_7(Interface6 interface6_0)
    {
        Class179 @class = (Class179)interface6_0;

        this.method_1().Add(@class.imjghrpgVE());
        this.list_1 = null;
    }
Exemple #6
0
        public static Interface8 smethod_3(
            Interface6 resolver,
            Interface7 subResolver,
            string content)
        {
            Class251.Class254 marker = new Class251.Class254(content);
            string            str    = marker.method_2();

            if (str == null)
            {
                throw new Exception1();
            }
            try
            {
                int int32 = Convert.ToInt32(str);
                if (int32 < Class250.int_7)
                {
                    return((Interface8) new Class251(resolver, subResolver, int32, marker));
                }
                if (int32 < Class250.int_63)
                {
                    return((Interface8) new Class252(resolver, subResolver, int32, marker));
                }
                return((Interface8) new Class253(resolver, subResolver, int32, marker));
            }
            catch (FormatException ex)
            {
                throw new Exception0("Failed to read SAT version number!", (Exception)ex);
            }
        }
Exemple #7
0
 internal Class255(Interface6 resolver, Interface7 subResolver, int version)
 {
     this.interface6_0    = resolver;
     this.interface7_0    = subResolver;
     this.int_0           = version;
     this.stringBuilder_0 = new StringBuilder();
 }
Exemple #8
0
 protected virtual Interface9 vmethod_0(
     Interface6 entityResolver,
     Interface7 subEntityResolver,
     int fileFormatVersion)
 {
     return((Interface9) new Class255(entityResolver, subEntityResolver, fileFormatVersion));
 }
Exemple #9
0
    private void OnConnected2()
    {
        Debug.Log("Connected");
        var subscription2 = Interface6.Subscribe2("ns=3;s=\"dbRfidData\".\"ID1\".\"iCarrierID\"", NodeChanged2);

        info2 = subscription2.ToString();
    }
Exemple #10
0
 protected virtual Interface9 vmethod_0(
     Interface6 entityResolver,
     Interface7 subEntityResolver,
     int fileFormatVersion,
     MemoryStream inputStream)
 {
     return((Interface9) new Class950(entityResolver, subEntityResolver, fileFormatVersion, inputStream));
 }
Exemple #11
0
 // Token: 0x060004AE RID: 1198 RVA: 0x00027348 File Offset: 0x00025548
 public Class92(Interface6 interface6_1)
 {
     this.interface6_0 = interface6_1;
     this.int_0        = interface6_1.imethod_2();
     this.byte_0       = new byte[this.int_0];
     this.byte_1       = new byte[this.int_0];
     this.byte_2       = new byte[this.int_0];
 }
Exemple #12
0
 internal Class252(
     Interface6 resolver,
     Interface7 subResolver,
     int version,
     Class251.Class254 marker)
     : base(resolver, subResolver, version, marker)
 {
 }
Exemple #13
0
 protected override Interface8 vmethod_0(
     Interface6 entityResolver,
     Interface7 subEntityResolver,
     int fileFormatVersion,
     Class251.Class254 subReadMarker)
 {
     return((Interface8) new Class252(entityResolver, subEntityResolver, fileFormatVersion, subReadMarker));
 }
Exemple #14
0
    // Token: 0x06000FC1 RID: 4033 RVA: 0x00048A04 File Offset: 0x00046C04
    public Interface6 imethod_5(Interface6 interface6_0)
    {
        Class174 @class = (Class174)interface6_0;

        this.xmlNode_0.AppendChild(@class.xmlNode_0);
        this.list_0 = null;
        this.list_1 = null;
        return(interface6_0);
    }
Exemple #15
0
 // Token: 0x06000554 RID: 1364 RVA: 0x00005779 File Offset: 0x00003979
 public Class65(Interface6 interface6_1)
 {
     if (interface6_1 == null)
     {
         throw new ArgumentNullException("cipher");
     }
     this.interface6_0 = interface6_1;
     this.byte_1       = new byte[interface6_1.imethod_2()];
     this.int_0        = 0;
 }
Exemple #16
0
 // Token: 0x06000574 RID: 1396 RVA: 0x0000596B File Offset: 0x00003B6B
 public Class65(Interface6 interface6_1)
 {
     if (interface6_1 == null)
     {
         throw new ArgumentNullException(Class185.smethod_0(537694265));
     }
     this.interface6_0 = interface6_1;
     this.byte_1       = new byte[interface6_1.imethod_2()];
     this.int_0        = 0;
 }
Exemple #17
0
    // Token: 0x06000648 RID: 1608 RVA: 0x00037394 File Offset: 0x00035594
    public void imethod_1(bool bool_1, Interface6 interface6_0)
    {
        Class188 @class = interface6_0 as Class188;

        if (@class == null)
        {
            throw new ArgumentException("invalid parameter passed to AES init - " + interface6_0.GetType().Name);
        }
        this.uint_2 = this.method_4(@class.method_0(), bool_1);
        this.bool_0 = bool_1;
    }
Exemple #18
0
 internal Class950(
     Interface6 resolver,
     Interface7 subResolver,
     int version,
     MemoryStream stream)
 {
     this.interface7_0   = subResolver;
     this.interface6_0   = resolver;
     this.int_0          = version;
     this.memoryStream_0 = stream;
 }
Exemple #19
0
 internal Class251(
     Interface6 resolver,
     Interface7 subResolver,
     int version,
     Class251.Class254 marker)
 {
     this.interface6_0 = resolver;
     this.interface7_0 = subResolver;
     this.int_0        = version;
     this.class254_0   = marker;
 }
Exemple #20
0
        static void Main(string[] args)
        {
            MyClass6 myClassOb = new MyClass6();
            //  myClassOb.ShowInterface6();//Error  explicit interface methods
            //MyClass6明确实现了Interface6.ShowInterface6,这时MyClass6的实例无法使用该方法
            Interface6 ob6 = myClassOb;

            ob6.ShowInterface6();

            Console.ReadKey();
        }
Exemple #21
0
    // Token: 0x06001005 RID: 4101 RVA: 0x00048A90 File Offset: 0x00046C90
    public override Interface6 imethod_5(Interface6 interface6_0)
    {
        Class180 @class;

        if ((@class = (interface6_0 as Class180)) != null)
        {
            this.method_1().Declaration = @class.uuuqhEdyag();
            return(@class);
        }
        return(base.imethod_5(interface6_0));
    }
Exemple #22
0
        static void Main(string[] args)
        {
            MyClass6 myClassOb = new MyClass6();

            //myClassOb.ShowInterface6();//Error
            ((Interface6)myClassOb).ShowInterface6();//Ok

            /*You can see that we have implemented the interface explicitly.And as per the language specification, to access the
             * explicit interface member we need to use the interface type.So, to overcome the error, you can use following lines of codes*/
            Interface6 ob6 = myClassOb;

            ob6.ShowInterface6();
            Console.ReadKey();
        }
Exemple #23
0
 // Token: 0x06000116 RID: 278 RVA: 0x0000D810 File Offset: 0x0000BA10
 public Class25(Interface6 interface6_1, byte[] byte_1, int int_0, int int_1)
 {
     if (interface6_1 == null)
     {
         throw new ArgumentNullException("parameters");
     }
     if (byte_1 == null)
     {
         throw new ArgumentNullException("iv");
     }
     this.interface6_0 = interface6_1;
     this.byte_0       = new byte[int_1];
     Array.Copy(byte_1, int_0, this.byte_0, 0, int_1);
 }
Exemple #24
0
 public static Interface9 smethod_5(
     Interface6 resolver,
     Interface7 subResolver,
     int version)
 {
     try
     {
         return((Interface9) new Class255(resolver, subResolver, version));
     }
     catch (FormatException ex)
     {
         throw new Exception0("Failed to write SAT!", (Exception)ex);
     }
 }
Exemple #25
0
        static void Main(string[] args)
        {
            MyClass6 myClassOb = new MyClass6();

            myClassOb = new MyClass6();
            //MyClass6で明示的にInterface6.ShowInterface6を実装しているため、
            //↓を有効にするとコンパイルエラー
            // 「'MyClass6' に 'ShowInterface6' の定義が含まれておらず、
            //   型 'MyClass6' の最初の引数を受け付けるアクセス可能な拡張メソッド
            //  'ShowInterface6' が見つかりませんでした。
            //   using ディレクティブまたはアセンブリ参照が不足していないかを確認してください。」
            //が発生する
            //言語仕様で明示的に実装されたインターフェースのメンバにアクセスするには、
            //インターフェース型の変数を使って呼び出すことになっているため
            // myClassOb.ShowInterface6();

            //インターフェース型の変数を使って呼び出す例
            Interface6 ob6 = myClassOb;

            ob6.ShowInterface6();

            //キャストしても同様の結果が得られる
            ((Interface6)myClassOb).ShowInterface6();

            //明示的なインターフェースメソッドの実装が
            //  明示的なインターフェイスの真価
            //    2 つ以上の異なるインターフェイスに
            //    同じメソッドシグニチャがあるときに発揮される
            //  必要となるケース
            //    シグニチャは同じでも、目的が異なるような場合
            //    具体的には
            //      - ITriangle とIRectangle の2つのインターフェイスの両方に、
            //        同じシグネチャを持つメソッドBuildMe() が含まれている
            //      - ITriangle.BuildMe() …三角形を生成する
            //      - IRectangle.BuildMe()…四角形を生成する
            //    というような場合、
            //    状況に基づいて適切なBuildMe() メソッドを呼び出せるように、
            //    インターフェイス名を含めて記しておく

            MyChildClass childOb = new MyChildClass();
            Interface6A  ob6A    = childOb;

            ob6A.ShowInterface6();
            Interface6 if6Ob = childOb;

            if6Ob.ShowInterface6();

            Console.ReadKey();
        }
Exemple #26
0
 public static Interface8 smethod_4(
     Interface6 resolver,
     Interface7 subResolver,
     MemoryStream content)
 {
     try
     {
         int version = Class1045.smethod_7((Stream)content);
         return((Interface8) new Class951(resolver, subResolver, version, content));
     }
     catch (FormatException ex)
     {
         throw new Exception0("Failed to read SAT version number!", (Exception)ex);
     }
 }
Exemple #27
0
 public static Interface9 smethod_6(
     Interface6 resolver,
     Interface7 subResolver,
     MemoryStream content,
     int version)
 {
     try
     {
         Class1045.smethod_9((Stream)content, version);
         return((Interface9) new Class950(resolver, subResolver, version, content));
     }
     catch (FormatException ex)
     {
         throw new Exception0("Failed to write SAT version number!", (Exception)ex);
     }
 }
Exemple #28
0
 // Token: 0x06000401 RID: 1025 RVA: 0x000206A0 File Offset: 0x0001E8A0
 public void imethod_1(bool bool_1, Interface6 interface6_0)
 {
     this.bool_0 = bool_1;
     if (interface6_0 is Class25)
     {
         Class25 @class = (Class25)interface6_0;
         byte[]  array  = @class.method_0();
         if (array.Length != this.int_0)
         {
             throw new ArgumentException("initialisation vector must be the same length as block size");
         }
         Array.Copy(array, 0, this.byte_0, 0, array.Length);
         interface6_0 = @class.method_1();
     }
     this.imethod_5();
     this.interface1_0.imethod_1(this.bool_0, interface6_0);
 }
Exemple #29
0
 internal ToolBarLabel(Function function_1, object object_1)
 {
     this.ilog_0      = LogUtil.GetLogger <ToolBarLabel>();
     this.RightToLeft = RightToLeft.Inherit;
     this.object_0    = object_1;
     this.function_0  = function_1;
     try
     {
         this.interface6_0 = (Interface6)function_1.PlugIn.method_9(function_1.Properties["class"]);
         this.interface6_0.imethod_2(object_1);
         function_1.Event_0 += new Function.Delegate39(this.method_1);
     }
     catch (Exception exception)
     {
         MessageManager.ShowMsgBox("FRM-000003", new string[] { function_1.Id, exception.ToString() });
     }
     ToolUtil.smethod_5(this, function_1);
     if (function_1 != null)
     {
         this.Enabled = function_1.method_2();
     }
 }
Exemple #30
0
        private static Interface8 smethod_0(
            Interface6 resolver,
            Interface7 subResolver,
            int version,
            MemoryStream stream)
        {
            int    num   = Class1045.smethod_7((Stream)stream);
            string empty = string.Empty;

            for (int index = 0; index < num; ++index)
            {
                empty += (string)(object)(char)stream.ReadByte();
            }
            Class251.Class254 marker = new Class251.Class254(empty);
            if (version < Class250.int_7)
            {
                return((Interface8) new Class251(resolver, subResolver, version, marker));
            }
            if (version < Class250.int_63)
            {
                return((Interface8) new Class252(resolver, subResolver, version, marker));
            }
            return((Interface8) new Class253(resolver, subResolver, version, marker));
        }
		// Token: 0x06000F90 RID: 3984
		// RVA: 0x0000F5C2 File Offset: 0x0000D7C2
		public EventArgs0(Interface6 interface6_1)
		{
			this.interface6_0 = interface6_1;
		}
Exemple #32
0
 private void method_11()
 {
     try
     {
         List<GenericAudioStream> list = new List<GenericAudioStream>();
         if (!this.BandCoopTxt.Text.Equals(""))
         {
             list.Add(AudioManager.getAudioStream(this.BandCoopTxt.Text));
         }
         else if (!this.BandAudioTxt.Text.Equals(""))
         {
             list.Add(AudioManager.getAudioStream(this.BandAudioTxt.Text));
         }
         if (!this.GuitarCoopTxt.Text.Equals("") && !this.RhythmCoopTxt.Text.Equals(""))
         {
             list.Insert(0, AudioManager.getAudioStream(this.RhythmCoopTxt.Text));
             list.Insert(0, AudioManager.getAudioStream(this.GuitarCoopTxt.Text));
         }
         else
         {
             if (!this.RhythmAudioTxt.Text.Equals(""))
             {
                 list.Insert(0, AudioManager.getAudioStream(this.RhythmAudioTxt.Text));
             }
             if (!this.GuitarAudioTxt.Text.Equals(""))
             {
                 list.Insert(0, AudioManager.getAudioStream(this.GuitarAudioTxt.Text));
             }
         }
         if (list.Count != 0)
         {
             GenericAudioStream stream = (list.Count == 1) ? list[0] : new Stream2(list.ToArray());
             if (this.interface6_0 != null)
             {
                 this.interface6_0.Dispose();
             }
             this.interface6_0 = AudioManager.smethod_0(Enum25.const_5, stream);
             this.PreviewSlider.method_14((int)this.interface6_0.imethod_0().TotalSeconds);
             this.PreviewSlider.method_18((int)stream.vmethod_1().timeSpan_0.TotalSeconds);
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("Cannot load audio file/s.\n" + ex.Message);
     }
 }
Exemple #33
0
 public void loadAudio(string fileName)
 {
     SongEditor.Class373 @class = new SongEditor.Class373();
     @class.fileName = fileName;
     @class.songEditor_0 = this;
     if (this.interface6_0 != null)
     {
         this.interface6_0.Dispose();
     }
     GenericAudioStream audioStream = AudioManager.getAudioStream(@class.fileName);
     if (audioStream == null)
     {
         return;
     }
     this.interface6_0 = AudioManager.smethod_0(Enum25.const_2, audioStream);
     ThreadPool.QueueUserWorkItem(new WaitCallback(@class.method_0));
 }
Exemple #34
0
 private void method_9()
 {
     this.GuitarAudioTxt.Text = (this.RhythmAudioTxt.Text = (this.BandAudioTxt.Text = (this.GuitarCoopTxt.Text = (this.RhythmCoopTxt.Text = (this.BandCoopTxt.Text = "")))));
     this.PreviewSlider.method_18(1);
     this.PreviewSlider.method_14(0);
     this.PreviewSlider.Enabled = false;
     if (this.interface6_0 != null)
     {
         this.interface6_0.Dispose();
         this.interface6_0 = null;
     }
 }
Exemple #35
0
 // Token: 0x06000F65 RID: 3941
 // RVA: 0x00053610 File Offset: 0x00051810
 protected virtual void Dispose(bool bool_9)
 {
     if (bool_9)
     {
         lock (this)
         {
             Interface6[] array = new Interface6[this.class117_0.Count];
             this.class117_0.CopyTo(array, 0);
             for (int i = 0; i < array.Length; i++)
             {
                 IDisposable disposable = array[i] as IDisposable;
                 if (disposable != null)
                 {
                     disposable.Dispose();
                 }
             }
             IDisposable disposable2 = this.interface9_0 as IDisposable;
             if (disposable2 != null)
             {
                 disposable2.Dispose();
             }
             this.method_23();
             if (this.eventHandler_2 != null)
             {
                 this.eventHandler_2(this, EventArgs.Empty);
             }
         }
     }
 }