Exemplo n.º 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;
 }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 internal P_State(ref Using <T> @using)
 {
     @using.Internal_GetArgs(value: out Value, dispose: out Dispose);
 }