Beispiel #1
0
 // TODO: Put strings into the resources.
 //
 public Using(T value, Using <TInner> inner)
 {
     if (!inner.IsInitialized)
     {
         throw new ArgumentException(paramName: nameof(inner), message: "Не инициализирован.");
     }
     //
     _value = value;
     _inner = inner;
 }
Beispiel #2
0
#pragma warning disable CS3006 // Overloaded method differing only in ref or out, or in array rank, is not CLS-compliant
        public UsingClass(ref Using <T> @using)
        {
            _state = new P_State(@using: ref @using);
        }
Beispiel #3
0
 internal P_State(ref Using <T> @using)
 {
     @using.Internal_GetArgs(value: out Value, dispose: out Dispose);
 }