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